Fix storybook (#4028)

This commit is contained in:
martmull 2024-02-16 18:06:19 +01:00 committed by GitHub
parent dfcf3b4dfa
commit 1b983b005d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ const meta: Meta<PageDecoratorArgs> = {
decorators: [
(Story) => {
const setCurrentWorkspace = useSetRecoilState(currentWorkspaceState);
setCurrentWorkspace(null);
setCurrentWorkspace(mockedOnboardingUsersData[1].defaultWorkspace);
return <Story />;
},
PageDecorator,

View File

@ -120,7 +120,7 @@ export const mockedOnboardingUsersData: Array<MockedUser> = [
workspaceMember: null,
defaultWorkspace: {
...mockDefaultWorkspace,
displayName: '',
activationStatus: 'inactive',
},
locale: 'en',
},