Skip to content

Commit cde8180

Browse files
committedSep 3, 2023
refactor: impl outlet component for routes rendering
1 parent 6c7cdf3 commit cde8180

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub fn App() -> impl IntoView {
1717
<Header/>
1818
<main>
1919
<Routes>
20-
<Route path="" view=|| view! { <Index/> }/>
20+
<Route path="/" view=|| view! { <Index/> }/>
2121
<Route path="/colaboradores" view=|| view! { <Contributors/> }/>
2222
</Routes>
2323
<Outlet/>

0 commit comments

Comments
 (0)
Please sign in to comment.