diff --git a/ts/react/article/blurb/index.tsx b/ts/react/article/blurb/index.tsx index 1fcb1bebf0..b6025f7825 100644 --- a/ts/react/article/blurb/index.tsx +++ b/ts/react/article/blurb/index.tsx @@ -24,9 +24,13 @@ export const Article: React.FC = ({ short, children }) => { ); }; -export const Blurb: React.FC = ({ children }) => <>{children}; +export const Blurb: React.FC<{ children?: React.ReactNode }> = ({ + children, +}) => <>{children}; -export const Main: React.FC = ({ children }) => { +export const Main: React.FC<{ children?: React.ReactNode }> = ({ + children, +}) => { // don't render if in short mode if (React.useContext(RenderModeContext) == RenderMode.Short) return null;