Handle currentUser not available throught the app and refetch it (#7333)

* Handle currentUser not available throught the app and refetch it

* Address feedback
This commit is contained in:
Daniel Espino García
2023-05-05 21:40:59 +02:00
committed by GitHub
parent 3a416dc511
commit 162cdfb21d
31 changed files with 184 additions and 114 deletions

View File

@@ -25,7 +25,7 @@ type Props = {
isMilitaryTime: boolean;
isTimezoneEnabled: boolean;
theme: Theme;
user: UserModel;
user?: UserModel;
}
const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => {