🔧 Update router to latest API

This commit is contained in:
Alexandre Mouton-Brady
2021-07-30 19:17:56 +02:00
parent 4a68c43c35
commit e57036fa65
2 changed files with 7 additions and 5 deletions
+1 -2
View File
@@ -2,12 +2,11 @@ import "windi.css";
import { render } from "solid-js/web";
import { Router } from "solid-app-router";
import { routes } from "./routes";
import App from "./app";
render(
() => (
<Router routes={routes}>
<Router>
<App />
</Router>
),