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

@@ -18,7 +18,7 @@ export interface UserInfo extends Record<string, string | undefined | null| bool
export type EditProfileProps = {
componentId: AvailableScreens;
currentUser: UserModel;
currentUser?: UserModel;
isModal?: boolean;
isTablet?: boolean;
lockedFirstName: boolean;