Skip to content

Commit

Permalink
fix: globOptions empty object default
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Nov 24, 2020
1 parent 9eafeb5 commit b2343cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/storybook/src/docs-page/DocsContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const PageContextContainer: FC = ({ children }) => {
(d: { name: string }) => !d.name || !d.name.startsWith('with'),
);
}
return o;
return o || {};
}, []);
const { storyId, docId, parameters } = useCurrentData();

Expand Down

0 comments on commit b2343cf

Please sign in to comment.