Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
HubbeDev committed Jan 6, 2024
1 parent d483de8 commit c210c7b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
export { className as class };
</script>

<FormPrimitive.Description class={cn('text-muted-foreground text-sm', className)} {...$$restProps}>
<FormPrimitive.Description class={cn('text-sm text-muted-foreground', className)} {...$$restProps}>
<slot />
</FormPrimitive.Description>
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<input
class={cn(
'border-input ring-offset-background file:text-foreground placeholder:text-muted-foreground focus-visible:ring-ring flex h-10 w-full rounded-md border bg-transparent px-3 py-2 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',
'flex h-10 w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50',
className
)}
{...$attrStore}
Expand Down
5 changes: 2 additions & 3 deletions apps/svelte-gravity-forms/src/lib/components/root.svelte
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<script lang="ts">
import { superForm, superValidateSync } from 'sveltekit-superforms/client';
import * as GFform from '$lib/components/form/index.js';
import type { Props } from './types.js';
import { setCtx } from '../ctx.js';
import * as GFform from '$lib/components/form/index.js';
import { GFButton } from '$components/index.js';
import { superForm, superValidateSync } from 'sveltekit-superforms/client';
type $$Props = Props;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
</script>

<FormPrimitive.Validation
class={cn('text-destructive text-sm font-medium', className)}
class={cn('text-sm font-medium text-destructive', className)}
{...$$restProps}
/>

0 comments on commit c210c7b

Please sign in to comment.