This commit is contained in:
Adrian Wannenmacher committed 2022-12-16 12:08:52 +01:00
1 parent da1862507e
commit 053dc6fa3e
1 file changed
+2 -2
+2 -2
View File
@@ -13,12 +13,12 @@ fn app(cx: Scope) -> Element {
.fixed( .fixed(
"users", "users",
Route::empty() Route::empty()
.nested(Segment::content(comp(UserList)).catch_all((comp(User), UserId { }))), .nested(Segment::content(comp(UserList)).catch_all((comp(User), UserId {}))),
) )
.fixed( .fixed(
"blog", "blog",
Route::empty().nested( Route::empty().nested(
Segment::content(comp(BlogList)).catch_all((comp(BlogPost), PostId { })), Segment::content(comp(BlogList)).catch_all((comp(BlogPost), PostId {})),
), ),
) )
.fallback(comp(E404)) .fallback(comp(E404))