Make new enum router less breaking

This commit is contained in:
Evan Almloff committed 2023-07-24 11:57:56 -07:00
1 parent b51ffa0590
commit 61dc549ba1
16 files changed
+74 -63

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ fn NavBar(cx: Scope) -> Element {
Link {
// The Link component will navigate to the route specified
// in the target prop which is checked to exist at compile time
target: Route::Home {},
to: Route::Home {},
"Home"
}
}