This commit is contained in:
martmull 2024-02-08 21:59:49 +01:00
parent 2d9dc0e88d
commit 6cb5d3f19d
2 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ const meta: Meta<PageDecoratorArgs> = {
graphql.query(getOperationName(GET_CURRENT_USER) ?? '', () => {
return HttpResponse.json({
data: {
currentUser: mockedOnboardingUsersData[0],
currentUser: mockedOnboardingUsersData[1],
},
});
}),

View File

@ -11,7 +11,7 @@ type MockedUser = Pick<
| '__typename'
| 'supportUserHash'
> & {
workspaceMember: WorkspaceMember;
workspaceMember: WorkspaceMember | null;
locale: string;
defaultWorkspace: Workspace;
};
@ -116,7 +116,7 @@ export const mockedOnboardingUsersData: Array<MockedUser> = [
firstName: '',
lastName: '',
canImpersonate: false,
workspaceMember: mockedWorkspaceMemberData,
workspaceMember: null,
defaultWorkspace: {
...mockDefaultWorkspace,
displayName: '',