change to require signedIn user
This commit is contained in:
parent
1afbb4bad4
commit
6e2b61ecf2
1 changed files with 1 additions and 1 deletions
|
|
@ -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?,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue