Skip to content

Commit

Permalink
Fix storybook (#4028)
Browse files Browse the repository at this point in the history
  • Loading branch information
martmull authored Feb 16, 2024
1 parent dfcf3b4 commit 1b983b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const meta: Meta<PageDecoratorArgs> = {
decorators: [
(Story) => {
const setCurrentWorkspace = useSetRecoilState(currentWorkspaceState);
setCurrentWorkspace(null);
setCurrentWorkspace(mockedOnboardingUsersData[1].defaultWorkspace);
return <Story />;
},
PageDecorator,
Expand Down
2 changes: 1 addition & 1 deletion packages/twenty-front/src/testing/mock-data/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export const mockedOnboardingUsersData: Array<MockedUser> = [
workspaceMember: null,
defaultWorkspace: {
...mockDefaultWorkspace,
displayName: '',
activationStatus: 'inactive',
},
locale: 'en',
},
Expand Down

0 comments on commit 1b983b0

Please sign in to comment.