From ec67f653769136a2088a7937ecb0c72d56afb5fa Mon Sep 17 00:00:00 2001 From: atanasster Date: Thu, 27 Feb 2020 21:34:34 -0500 Subject: [PATCH] fix: return story id from useControlsContext --- integrations/storybook/src/blocks/BlockContext.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/integrations/storybook/src/blocks/BlockContext.tsx b/integrations/storybook/src/blocks/BlockContext.tsx index 25818bcf1..813929689 100644 --- a/integrations/storybook/src/blocks/BlockContext.tsx +++ b/integrations/storybook/src/blocks/BlockContext.tsx @@ -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,