Closed jholt1 closed 6 years ago
Currently using 4.0.0-alpha.16
4.0.0-alpha.16
I get an issue that typeof preview is number, which means it tries to get preview.getStorybook() which for mean in storybook 4 doesn't exist.
typeof preview
number
preview.getStorybook()
This PR fixes the issue of it picking __STORYBOOK_CLIENT_API__.getStorybook() for me, for version 4.
__STORYBOOK_CLIENT_API__.getStorybook()
However is there need for some more exploration as to why it comes up as a number?
Currently using
4.0.0-alpha.16
I get an issue that
typeof preview
isnumber
, which means it tries to getpreview.getStorybook()
which for mean in storybook 4 doesn't exist.This PR fixes the issue of it picking
__STORYBOOK_CLIENT_API__.getStorybook()
for me, for version 4.However is there need for some more exploration as to why it comes up as a number?