diff --git a/lib/client-api/src/story_store.ts b/lib/client-api/src/story_store.ts index 84b39a2004fa..ae881b45e94e 100644 --- a/lib/client-api/src/story_store.ts +++ b/lib/client-api/src/story_store.ts @@ -499,7 +499,7 @@ export default class StoryStore { } return acc; }, {} as Args); - if (defaultArgs !== {}) { + if (Object.keys(defaultArgs).length > 0) { argTypeDefaultValueWarning(); }