forked from yaso_meth/mih-project
change to require signedIn user
This commit is contained in:
@@ -84,7 +84,7 @@ class _HomeState extends State<Home> {
|
||||
if (snapshot.connectionState == ConnectionState.done) {
|
||||
if (snapshot.hasData) {
|
||||
return HomeTileGrid(
|
||||
signedInUser: snapshot.data![0] as AppUser,
|
||||
signedInUser: snapshot.requireData[0] as AppUser,
|
||||
businessUser: snapshot.data![1] as BusinessUser?,
|
||||
business: snapshot.data![2] as Business?,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user