diff --git a/apps/public/src/components/faq.tsx b/apps/public/src/components/faq.tsx index fc249792..11b78f3a 100644 --- a/apps/public/src/components/faq.tsx +++ b/apps/public/src/components/faq.tsx @@ -22,7 +22,10 @@ export const Faqs = ({ children }: { children: React.ReactNode }) => ( export const FaqItem = ({ question, children, -}: { question: string; children: string | React.ReactNode }) => ( +}: { + question: string; + children: string | React.ReactNode; +}) => ( - {typeof children === 'string' ? ( - {children} - ) : ( - children - )} +
+ {typeof children === 'string' ? ( + {children} + ) : ( + children + )} +
);