Skip to content

Commit

Permalink
fix: return story id from useControlsContext
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Feb 28, 2020
1 parent 59d19ed commit ec67f65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integrations/storybook/src/blocks/BlockContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export const useControlsContext = ({
const kind = kindTitle ? myStoryStore.kinds[kindTitle] : undefined;
const source: string | undefined = myStory ? myStory.source : undefined;
return {
id: previewId,
api,
channel,
story,
Expand Down

0 comments on commit ec67f65

Please sign in to comment.