fix: linting issues

This commit is contained in:
Elie Baier 2024-05-03 18:07:31 +02:00
parent 9ba19c386f
commit d6b3962280
3 changed files with 3 additions and 3 deletions

View File

@ -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&apos;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">

View File

@ -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">

View File

@ -15,5 +15,5 @@ export default async function NoWorkspace() {
redirect(`/${workspace.slug}`);
}
return <div>You don't </div>;
return <div>You don&apos;t </div>;
}