Skip to content

Commit

Permalink
input
Browse files Browse the repository at this point in the history
  • Loading branch information
sammynave committed Jan 5, 2024
1 parent e67c5ad commit 2d8a248
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/routes/app/offline-first/Todos.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script lang="ts">
import { nanoid } from 'nanoid';
import { db } from './sync-db-store';
import Input from '$lib/components/ui/input/input.svelte';
export let dbConfig;
Expand Down Expand Up @@ -130,7 +131,7 @@
newTodo = '';
}}
>
<label>new todo<input type="text" bind:value={newTodo} /></label>
<label>new todo<Input type="text" bind:value={newTodo} /></label>
<button type="submit">create</button>
</form>

Expand All @@ -152,7 +153,7 @@
newTodont = '';
}}
>
<label>new todont<input type="text" bind:value={newTodont} /></label>
<label>new todont<Input type="text" bind:value={newTodont} /></label>
<button type="submit">create</button>
</form>

Expand Down

0 comments on commit 2d8a248

Please sign in to comment.