File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { Particles } from "webgl-generative-particles/react";
1010const inter = Inter ( { subsets : [ "latin" ] } ) ;
1111
1212/** Root layout. */
13- export default function RootLayout ( { children } : { children : React . ReactNode } ) : JSX . Element {
13+ export default function RootLayout ( { children } : { children : React . ReactNode } ) {
1414 return (
1515 < html lang = "en" suppressHydrationWarning >
1616 < body className = { inter . className } >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export const metadata = {
77} ;
88
99/** next.js landing page */
10- export default function Page ( ) : JSX . Element {
10+ export default function Page ( ) {
1111 const theta = Math . PI / 6 ;
1212 return (
1313 < LandingPage title = "Next.js Example" >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { Core } from "nextjs-darkmode";
77import { Demo , Header } from "@repo/shared" ;
88
99/** Vite App */
10- function App ( ) : JSX . Element {
10+ function App ( ) {
1111 const { setLoading } = useLoader ( ) ;
1212 const handleClick = useCallback ( ( ) => setLoading ( true ) , [ ] ) ;
1313 return (
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { Switch } from "nextjs-darkmode/switch";
55import styles from "./header.module.scss" ;
66
77/** This is a wrapper around `nextjs-darkmode's ColorSwitch component to improve mobile view. */
8- export default function ThemeSwitch ( ) : JSX . Element {
8+ export default function ThemeSwitch ( ) {
99 const { mode } = useMode ( ) ;
1010 return (
1111 < Switch className = { styles . themeswitch } >
You can’t perform that action at this time.
0 commit comments