mirror of https://github.com/MaxLeiter/Drift
Linting, component clean up
parent
ba732dcd71
commit
e49ca2e749
@ -1,3 +1,5 @@
|
||||
export default function NewLayout({ children }: { children: React.ReactNode }) {
|
||||
import { ChildrenProps } from "src/app/providers"
|
||||
|
||||
export default function NewLayout({ children }: ChildrenProps) {
|
||||
return <>{children}</>
|
||||
}
|
||||
|
||||
@ -0,0 +1,8 @@
|
||||
"use client"
|
||||
|
||||
import { PropsWithChildren } from "react"
|
||||
import styles from "./page.module.css"
|
||||
|
||||
export default function Layout({ children }: PropsWithChildren<unknown>) {
|
||||
return <div className={styles.page}>{children}</div>
|
||||
}
|
||||
@ -1,5 +0,0 @@
|
||||
import styles from "./page.module.css"
|
||||
|
||||
export default function Page({ children }: { children: React.ReactNode }) {
|
||||
return <div className={styles.page}>{children}</div>
|
||||
}
|
||||
Loading…
Reference in New Issue