removed router

This commit is contained in:
Zev B Averbach
2020-12-18 09:35:57 +01:00
parent 78a25462b8
commit 78d7378867

View File

@@ -1,5 +1,4 @@
<script>
import { Route } from 'tinro'
import { onMount } from 'svelte'
import { writable } from 'svelte/store'
import { fade } from 'svelte/transition'
@@ -134,7 +133,7 @@
<nav>
</nav>
<Route path="/">
<main path="/">
<form on:submit|preventDefault={createChore}>
<input bind:value={newChore} type=text>
<input style="cursor:pointer" type=submit disabled={newChore === ""}>
@@ -149,5 +148,5 @@
{/each}
{/if}
</div>
</Route>
</main>