fix: linting issues
This commit is contained in:
@@ -182,7 +182,7 @@ export default function CreateApplicationForm() {
|
||||
{newApplication.serviceProvider == 'github' &&
|
||||
(!repositories ? (
|
||||
<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 className="text-sm">
|
||||
|
||||
@@ -123,7 +123,7 @@ export default function DatabaseNewForm() {
|
||||
}}
|
||||
>
|
||||
{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} />
|
||||
<label htmlFor={provider.id} className="flex flex-row items-center gap-4">
|
||||
<div className="w-8 h-8 rounded-full relative">
|
||||
|
||||
Reference in New Issue
Block a user