mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-23 22:12:24 +03:00
Fix storybook (#4028)
This commit is contained in:
parent
dfcf3b4dfa
commit
1b983b005d
@ -22,7 +22,7 @@ const meta: Meta<PageDecoratorArgs> = {
|
||||
decorators: [
|
||||
(Story) => {
|
||||
const setCurrentWorkspace = useSetRecoilState(currentWorkspaceState);
|
||||
setCurrentWorkspace(null);
|
||||
setCurrentWorkspace(mockedOnboardingUsersData[1].defaultWorkspace);
|
||||
return <Story />;
|
||||
},
|
||||
PageDecorator,
|
||||
|
@ -120,7 +120,7 @@ export const mockedOnboardingUsersData: Array<MockedUser> = [
|
||||
workspaceMember: null,
|
||||
defaultWorkspace: {
|
||||
...mockDefaultWorkspace,
|
||||
displayName: '',
|
||||
activationStatus: 'inactive',
|
||||
},
|
||||
locale: 'en',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user