Fix path bug
This commit is contained in:
parent
9ef010fcd9
commit
a2166bcba8
1 changed files with 1 additions and 0 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue