diff --git a/src/bridge/useStory.ts b/src/bridge/useStory.ts index 6432a8c..50516db 100644 --- a/src/bridge/useStory.ts +++ b/src/bridge/useStory.ts @@ -11,5 +11,7 @@ export const useStory = (newStory: Story) => { context?.setStory(newStory); }, [newStory]); - return context?.story === undefined ? newStory : context?.story; + return context?.story === undefined || newStory?.uuid !== context?.story?.uuid + ? newStory + : context?.story; };