diff --git a/src/renderers/wrappers/withHeader.tsx b/src/renderers/wrappers/withHeader.tsx index 3c391a36..bcd11df9 100644 --- a/src/renderers/wrappers/withHeader.tsx +++ b/src/renderers/wrappers/withHeader.tsx @@ -10,7 +10,7 @@ const withHeader: React.FC {children} {story.header && ( -
+
{typeof story === "object" ? ( globalHeader ? ( globalHeader(story.header)