From 1b983b005ddef166dcece5c5b4b3d54703f707b9 Mon Sep 17 00:00:00 2001 From: martmull Date: Fri, 16 Feb 2024 18:06:19 +0100 Subject: [PATCH] Fix storybook (#4028) --- .../src/pages/auth/__stories__/CreateWorkspace.stories.tsx | 2 +- packages/twenty-front/src/testing/mock-data/users.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/twenty-front/src/pages/auth/__stories__/CreateWorkspace.stories.tsx b/packages/twenty-front/src/pages/auth/__stories__/CreateWorkspace.stories.tsx index 01de0018b4fc..61d2f8316fb8 100644 --- a/packages/twenty-front/src/pages/auth/__stories__/CreateWorkspace.stories.tsx +++ b/packages/twenty-front/src/pages/auth/__stories__/CreateWorkspace.stories.tsx @@ -22,7 +22,7 @@ const meta: Meta = { decorators: [ (Story) => { const setCurrentWorkspace = useSetRecoilState(currentWorkspaceState); - setCurrentWorkspace(null); + setCurrentWorkspace(mockedOnboardingUsersData[1].defaultWorkspace); return ; }, PageDecorator, diff --git a/packages/twenty-front/src/testing/mock-data/users.ts b/packages/twenty-front/src/testing/mock-data/users.ts index 5e7e331189a7..83b51c55fca0 100644 --- a/packages/twenty-front/src/testing/mock-data/users.ts +++ b/packages/twenty-front/src/testing/mock-data/users.ts @@ -120,7 +120,7 @@ export const mockedOnboardingUsersData: Array = [ workspaceMember: null, defaultWorkspace: { ...mockDefaultWorkspace, - displayName: '', + activationStatus: 'inactive', }, locale: 'en', },