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.connectionState == ConnectionState.done) {
|
||||||
if (snapshot.hasData) {
|
if (snapshot.hasData) {
|
||||||
return HomeTileGrid(
|
return HomeTileGrid(
|
||||||
signedInUser: snapshot.data![0] as AppUser,
|
signedInUser: snapshot.requireData[0] as AppUser,
|
||||||
businessUser: snapshot.data![1] as BusinessUser?,
|
businessUser: snapshot.data![1] as BusinessUser?,
|
||||||
business: snapshot.data![2] as Business?,
|
business: snapshot.data![2] as Business?,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user