diff --git a/template/template/App.tsx b/template/template/App.tsx index bf24c33..125fe1b 100644 --- a/template/template/App.tsx +++ b/template/template/App.tsx @@ -29,7 +29,7 @@ type SectionProps = PropsWithChildren<{ title: string; }>; -function Section({children, title}: SectionProps): JSX.Element { +function Section({children, title}: SectionProps): React.JSX.Element { const isDarkMode = useColorScheme() === 'dark'; return ( @@ -55,7 +55,7 @@ function Section({children, title}: SectionProps): JSX.Element { ); } -function App(): JSX.Element { +function App(): React.JSX.Element { const isDarkMode = useColorScheme() === 'dark'; const backgroundStyle = {