diff --git a/lib/components/menu.dart b/lib/components/menu.dart index c4f891b..4e72586 100644 --- a/lib/components/menu.dart +++ b/lib/components/menu.dart @@ -74,6 +74,7 @@ class _MenuState extends State { html.window.history.pushState(null, '', '/products'); _selectedWidget = const Products(); } else if (index == 2) { + html.window.history.pushState(null, '', ''); _selectedWidget = const Home(); } else if (index == 3) { html.window.history.pushState(null, '', '/cart');