fix: linting issues
This commit is contained in:
parent
9ba19c386f
commit
d6b3962280
|
@ -182,7 +182,7 @@ export default function CreateApplicationForm() {
|
||||||
{newApplication.serviceProvider == 'github' &&
|
{newApplication.serviceProvider == 'github' &&
|
||||||
(!repositories ? (
|
(!repositories ? (
|
||||||
<p className="text-sm">
|
<p className="text-sm">
|
||||||
<span className="text-muted-foreground">We don't have access to your repositories.</span> <Link href={ServiceProviderList.find((s) => s.value == newApplication.serviceProvider)?.permission || ''}>Link your GitHub account</Link>
|
<span className="text-muted-foreground">We don't have access to your repositories.</span> <Link href={ServiceProviderList.find((s) => s.value == newApplication.serviceProvider)?.permission || ''}>Link your GitHub account</Link>
|
||||||
</p>
|
</p>
|
||||||
) : (
|
) : (
|
||||||
<p className="text-sm">
|
<p className="text-sm">
|
||||||
|
|
|
@ -123,7 +123,7 @@ export default function DatabaseNewForm() {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{databaseProviders.map((provider) => (
|
{databaseProviders.map((provider) => (
|
||||||
<div className={cn('flex flex-row items-center gap-4 border-[1px] rounded-lg py-2 px-4', databaseConfig?.provider.id == provider.id ? 'border-[#3A7BFE]' : 'border-gray-300')}>
|
<div key={provider.id} className={cn('flex flex-row items-center gap-4 border-[1px] rounded-lg py-2 px-4', databaseConfig?.provider.id == provider.id ? 'border-[#3A7BFE]' : 'border-gray-300')}>
|
||||||
<RadioGroupItem value={provider.id} id={provider.id} />
|
<RadioGroupItem value={provider.id} id={provider.id} />
|
||||||
<label htmlFor={provider.id} className="flex flex-row items-center gap-4">
|
<label htmlFor={provider.id} className="flex flex-row items-center gap-4">
|
||||||
<div className="w-8 h-8 rounded-full relative">
|
<div className="w-8 h-8 rounded-full relative">
|
||||||
|
|
|
@ -15,5 +15,5 @@ export default async function NoWorkspace() {
|
||||||
redirect(`/${workspace.slug}`);
|
redirect(`/${workspace.slug}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
return <div>You don't </div>;
|
return <div>You don't </div>;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue