diff --git a/lib/client-api/src/story_store.ts b/lib/client-api/src/story_store.ts index 19cadb728936..6e7ad5e714a9 100644 --- a/lib/client-api/src/story_store.ts +++ b/lib/client-api/src/story_store.ts @@ -36,6 +36,9 @@ const toExtracted = (obj: T) => if (typeof value === 'function') { return acc; } + if (key === 'hooks') { + return acc; + } if (Array.isArray(value)) { return Object.assign(acc, { [key]: value.slice().sort() }); }