mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
auth UI and Api
This commit is contained in:
@ -8,9 +8,9 @@ import 'package:syncrow_web/services/locator.dart';
|
||||
Future<void> main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
initialSetup(); // Perform initial setup, e.g., dependency injection
|
||||
String res = await AuthBloc.getTokenAndValidate();
|
||||
String checkToken = await AuthBloc.getTokenAndValidate();
|
||||
runApp(MyApp(
|
||||
isLoggedIn: res,
|
||||
isLoggedIn: checkToken,
|
||||
));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user