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:
parent
53478aaf27
commit
550b2e6c51
3 changed files with 5 additions and 5 deletions
|
@ -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}
|
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue