1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-22 16:24:19 +00:00

Rename AppBody to just Body

This commit is contained in:
Steffo 2023-08-08 16:31:46 +02:00
parent 53478aaf27
commit 550b2e6c51
Signed by: steffo
GPG key ID: 2A24051445686895
3 changed files with 5 additions and 5 deletions

View file

@ -1,8 +1,8 @@
import {ReactNode} from "react" import {ReactNode} from "react"
import style from "./AppBody.module.css" import style from "./Body.module.css"
export function AppBody({children}: {children: ReactNode}) { export function Body({children}: {children: ReactNode}) {
return ( return (
<body className={style.appBody}> <body className={style.appBody}>
{children} {children}

View file

@ -1,7 +1,7 @@
// noinspection JSUnusedGlobalSymbols // noinspection JSUnusedGlobalSymbols
import "./layout.css"; import "./layout.css";
import {AppBody} from "@/app/[lang]/AppBody" import {Body} from "@/app/[lang]/Body"
import {StarredManager} from "@/app/[lang]/StarContext" import {StarredManager} from "@/app/[lang]/StarContext"
import type {Metadata as NextMetadata} from "next" import type {Metadata as NextMetadata} from "next"
import {default as React, ReactNode} from "react" import {default as React, ReactNode} from "react"
@ -24,11 +24,11 @@ export const metadata: NextMetadata = {
export default function layout({children}: { children: ReactNode }) { export default function layout({children}: { children: ReactNode }) {
return ( return (
<html lang="en"> <html lang="en">
<AppBody> <Body>
<StarredManager> <StarredManager>
{children} {children}
</StarredManager> </StarredManager>
</AppBody> </Body>
</html> </html>
) )
} }