diff options
Diffstat (limited to 'src/components/app.rs')
-rw-r--r-- | src/components/app.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/components/app.rs b/src/components/app.rs index 7e2676a..d93a870 100644 --- a/src/components/app.rs +++ b/src/components/app.rs @@ -51,12 +51,8 @@ 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 = RwSignal::new(0); - let on_click = move |_| *count.write() += 1; - view! { - <h1>"Welcome to Leptos!"</h1> - <button on:click=on_click>"Click Me: " {count}</button> + <h1>Article</h1> + <p>Article content here we guess?</p> } } |