diff --git a/packages/frontend/.storybook/generate.tsx b/packages/frontend/.storybook/generate.tsx
index f501b02ab6..a6e2bf735b 100644
--- a/packages/frontend/.storybook/generate.tsx
+++ b/packages/frontend/.storybook/generate.tsx
@@ -75,7 +75,7 @@ function h<T extends estree.Node>(
 	props: Omit<T, 'type'>
 ): T {
 	const type = component.replace(/(?:^|-)([a-z])/g, (_, c) => c.toUpperCase());
-	return Object.assign(props, { type }) as T;
+	return Object.assign(props || {}, { type }) as T;
 }
 
 declare global {