This commit is contained in:
Matthew Patrick 2022-05-16 02:21:36 +07:00
parent 4cd8eccf92
commit 3b10fa4fd7

View file

@ -1,6 +1,4 @@
import 'dart:math' as math;
import 'package:nekoya_flutter/screens/forgotpassword.dart';
import 'package:nekoya_flutter/screens/otp.dart';
import 'package:universal_html/html.dart' as html;
import 'package:flutter/material.dart';
@ -76,7 +74,7 @@ class _MenuState extends State<Menu> {
html.window.history.pushState(null, '', '/products');
_selectedWidget = const Products();
} else if (index == 2) {
_selectedWidget = const ForgotPassword();
_selectedWidget = const Home();
} else if (index == 3) {
html.window.history.pushState(null, '', '/cart');
_selectedWidget = const Cart();