From 6e2b61ecf25417eb8a98ff66a35fc2171627930b Mon Sep 17 00:00:00 2001 From: yaso-meth Date: Thu, 8 Aug 2024 13:45:51 +0200 Subject: [PATCH] change to require signedIn user --- Frontend/patient_manager/lib/pages/home.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frontend/patient_manager/lib/pages/home.dart b/Frontend/patient_manager/lib/pages/home.dart index 0a6aeb3a..86751a23 100644 --- a/Frontend/patient_manager/lib/pages/home.dart +++ b/Frontend/patient_manager/lib/pages/home.dart @@ -84,7 +84,7 @@ class _HomeState extends State { 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?, );