This commit is contained in:
Adrian Wannenmacher 2022-12-16 12:08:52 +01:00
parent da1862507e
commit 053dc6fa3e
No known key found for this signature in database
GPG key ID: 19D986ECB1E492D5

View file

@ -13,12 +13,12 @@ fn app(cx: Scope) -> Element {
.fixed(
"users",
Route::empty()
.nested(Segment::content(comp(UserList)).catch_all((comp(User), UserId { }))),
.nested(Segment::content(comp(UserList)).catch_all((comp(User), UserId {}))),
)
.fixed(
"blog",
Route::empty().nested(
Segment::content(comp(BlogList)).catch_all((comp(BlogPost), PostId { })),
Segment::content(comp(BlogList)).catch_all((comp(BlogPost), PostId {})),
),
)
.fallback(comp(E404))