From a2166bcba8d9a6912dcd3cdfa2f8a018c42510c9 Mon Sep 17 00:00:00 2001 From: Moe Date: Mon, 16 May 2022 10:16:48 +0700 Subject: [PATCH] Fix path bug --- lib/components/menu.dart | 1 + 1 file changed, 1 insertion(+) 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');