Fix path bug

This commit is contained in:
Moe Poi ~ 2022-05-16 10:16:48 +07:00
parent 9ef010fcd9
commit a2166bcba8

View file

@ -74,6 +74,7 @@ class _MenuState extends State<Menu> {
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');