1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-22 08:14:18 +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 style from "./AppBody.module.css"
import style from "./Body.module.css"
export function AppBody({children}: {children: ReactNode}) {
export function Body({children}: {children: ReactNode}) {
return (
<body className={style.appBody}>
{children}

View file

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