From e5953c487f415cbba178b633462a502807f3c7d3 Mon Sep 17 00:00:00 2001 From: Ethan Girouard Date: Mon, 1 Jan 2024 16:32:05 -0500 Subject: [PATCH] Remove default home page --- src/app.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/app.rs b/src/app.rs index fe828a6..ae1aa39 100644 --- a/src/app.rs +++ b/src/app.rs @@ -30,14 +30,7 @@ pub fn App() -> impl IntoView { /// Renders the home page of your application. #[component] fn HomePage() -> impl IntoView { - // Creates a reactive value to update the button - let (count, set_count) = create_signal(0); - let on_click = move |_| set_count.update(|count| *count += 1); - - view! { -

"Welcome to Leptos!"

- - } + view! {} } /// 404 - Not Found