diff --git a/src/App.svelte b/src/App.svelte index ed314c9..192ac00 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1,18 +1,42 @@ @@ -25,7 +49,7 @@
{#key $location} - + replace('/')}/> {/key}
diff --git a/src/routes.ts b/src/routes.ts deleted file mode 100644 index 7aec907..0000000 --- a/src/routes.ts +++ /dev/null @@ -1,12 +0,0 @@ -import Home from './lib/Home.svelte' -import Chat from './lib/Chat.svelte' -import NewChat from './lib/NewChat.svelte' - -export default { - '/': Home, - - '/chat/new': NewChat, - '/chat/:chatId': Chat, - - '*': Home -}