Skip to content

Commit

Permalink
ui: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
traines-source committed Jan 21, 2025
1 parent 926e9be commit b728a42
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion ui/src/lib/AddressTypeahead.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@

<Combobox.Root
type="single"
controlledValue
allowDeselect={false}
{value}
onValueChange={(e: string) => {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/lib/ErrorMessage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
} = $props();
</script>

<div class="m-4 text-red-600"><div class="min-w-0">{e}</div></div>
<div class="m-4 text-destructive"><div class="min-w-0">{e}</div></div>
4 changes: 2 additions & 2 deletions ui/src/lib/components/ui/button/button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
{#if href}
<a
bind:this={ref}
class={cn(buttonVariants({ variant, size, className }))}
class={cn(buttonVariants({ variant, size }), className)}
{href}
{...restProps}
>
Expand All @@ -67,7 +67,7 @@
{:else}
<button
bind:this={ref}
class={cn(buttonVariants({ variant, size, className }))}
class={cn(buttonVariants({ variant, size }), className)}
{type}
{...restProps}
>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/lib/components/ui/toggle/toggle.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
<TogglePrimitive.Root
bind:ref
bind:pressed
class={cn(toggleVariants({ variant, size, className }))}
class={cn(toggleVariants({ variant, size }), className)}
{...restProps}
/>

0 comments on commit b728a42

Please sign in to comment.