diff --git a/demo_markdown/docs/menu/mod.md b/demo_markdown/docs/menu/mod.md
index bb1c89d..10617ac 100644
--- a/demo_markdown/docs/menu/mod.md
+++ b/demo_markdown/docs/menu/mod.md
@@ -1,17 +1,19 @@
# Menu
```rust demo
-//let message = use_message();
-//let on_select = move |key: String| {
-// match key.as_str() {
-// "facebook" => message.create( "Facebook".into(), MessageVariant::Success, Default::default(),),
-// "twitter" => message.create( "Twitter".into(), MessageVariant::Warning, Default::default(),),
-// _ => ()
-// }
-//};
-let on_select = move |value| println!("{}", value);
+let on_select = |key: String| {
+ leptos::logging::warn!("{}", key);
+ let toaster = ToasterInjection::expect_context();
+ toaster.dispatch_toast(view! {
+
+
+ "key"
+
+
+ }.into_any(), Default::default());
+};
view! {
@@ -40,7 +42,7 @@ view! {
```rust demo
use leptos_meta::Style;
-let on_select = move |value| println!("{}", value);
+let on_select = move |value| leptos::logging::warn!("{}", value);
view! {