Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
oblador authored Mar 29, 2024
1 parent c678ae2 commit 7d95bdc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/browser/src/get-stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
const getStories = async (window) => {
const getStorybook =
(window.__STORYBOOK_CLIENT_API__ && window.__STORYBOOK_CLIENT_API__.raw) ||
(window.__STORYBOOK_PREVIEW__ && window.__STORYBOOK_PREVIEW__.extract && window.__STORYBOOK_PREVIEW__.storyStore.raw) ||
(window.__STORYBOOK_PREVIEW__ &&
window.__STORYBOOK_PREVIEW__.extract &&
window.__STORYBOOK_PREVIEW__.storyStore.raw) ||
(window.loki && window.loki.getStorybook);
if (!getStorybook) {
throw new Error(
Expand Down

0 comments on commit 7d95bdc

Please sign in to comment.