Skip to content

Commit aa4f93e

Browse files
committed
improve types
1 parent c335f65 commit aa4f93e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/site/components/withLegal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const WithLegal: FC<LegalProps> = ({ footerLinks }) => {
5454
);
5555
return acc;
5656
},
57-
{} as Record<string, (text: React.ReactNode) => JSX.Element>
57+
{} as Record<string, (text: React.ReactNode) => React.ReactNode>
5858
);
5959

6060
return (

0 commit comments

Comments
 (0)