Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-8 committed Apr 24, 2024
1 parent 4342d8e commit 530b47e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions src/lib/functions/Store.composition
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@
</script>

<script lang="ts">
import Store from './Store.svelte'

let value = 'world'
import Store from './Store.svelte'

let value = 'world'
</script>

<Store startWith="hello" let:set let:store={text}>
Expand All @@ -24,8 +23,8 @@
<div>{text}</div>
</Store>

<hr>
<hr />

Two-way binding for comparison:<br>
Two-way binding for comparison:<br />
<input type="text" bind:value />
<div>{value}</div>
<div>{value}</div>
2 changes: 1 addition & 1 deletion src/lib/ui/Button.composition
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

<div class="font-semibold my-5">white</div>
<div class="bg-gray-900 p-2 text-center">
<Button onclick={() => {}} color="white" form="filled" size="lg">filled white</Button>
<Button onclick={() => alert('Clicked')} color="white" form="filled" size="lg">filled white</Button>
</div>

<div class="font-semibold my-5">loading state</div>
Expand Down

0 comments on commit 530b47e

Please sign in to comment.