From 39f93de7d48898f58f9d1fd1338783c9d31bc6f7 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Thu, 5 May 2022 21:03:48 +1000 Subject: [PATCH] Cleanup --- lib/store/src/StoryStore.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/store/src/StoryStore.ts b/lib/store/src/StoryStore.ts index 148512b0cb7a..5001ad5dad59 100644 --- a/lib/store/src/StoryStore.ts +++ b/lib/store/src/StoryStore.ts @@ -267,6 +267,7 @@ export class StoryStore { acc[storyId] = Object.entries(story).reduce( (storyAcc, [key, value]) => { + if (key === 'moduleExport') return storyAcc; if (typeof value === 'function') { return storyAcc; }