From 5d510a8258c07598ab4bfe840c820035583bd0a8 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 30 Aug 2023 10:01:30 +0530 Subject: using keyed list in navigation_menu --- src/components/navigation_menu/menu_items.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/navigation_menu/menu_items.rs') diff --git a/src/components/navigation_menu/menu_items.rs b/src/components/navigation_menu/menu_items.rs index f3e33b3..d86fb56 100644 --- a/src/components/navigation_menu/menu_items.rs +++ b/src/components/navigation_menu/menu_items.rs @@ -37,7 +37,7 @@ pub struct Props { pub fn menu_items(props: &Props) -> Html { let menu_items: Html = props.items .iter() - .map(|item| html!()) + .map(|item| html!()) .collect(); html! { -- cgit v1.2.3