Skip to content

The open alternative to Salesforce, designed for AI.

Fix storybook (#4028)

martmull1b983b005dde
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 01de0018b4f..61d2f8316fb 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<PageDecoratorArgs> = {
decorators: [
(Story) => {
const setCurrentWorkspace = useSetRecoilState(currentWorkspaceState);
- setCurrentWorkspace(null);
+ setCurrentWorkspace(mockedOnboardingUsersData[1].defaultWorkspace);
return <Story />;
},
PageDecorator,
diff --git a/packages/twenty-front/src/testing/mock-data/users.ts b/packages/twenty-front/src/testing/mock-data/users.ts
index 5e7e331189a..83b51c55fca 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<MockedUser> = [
workspaceMember: null,
defaultWorkspace: {
...mockDefaultWorkspace,
- displayName: '',
+ activationStatus: 'inactive',
},
locale: 'en',
},