Fix storybook (#4028)

This commit is contained in:
martmull
2024-02-16 18:06:19 +01:00
committed by GitHub
parent dfcf3b4dfa
commit 1b983b005d
2 changed files with 2 additions and 2 deletions

View File

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

View File

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