🐛 Fix ts-router example (fix #4)

This commit is contained in:
Alex
2021-04-04 12:36:17 +02:00
parent 674a52e518
commit b365db6d65
4 changed files with 19 additions and 25 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { Component } from "solid-js";
import { Link, Route, useRouter } from "solid-app-router";
const App: Component = () => {
const router = useRouter();
const [router] = useRouter();
return (
<>