Skip to content

Commit

Permalink
fix duplicate html tag
Browse files Browse the repository at this point in the history
  • Loading branch information
miso-devel committed Oct 30, 2023
1 parent 46fec1a commit fbcc82a
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions client/src/app/draw/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ export default function RootLayout({
children: React.ReactNode;
}) {
return (
<html lang='ja'>
<body>
<header className='h-[8vh] flex items-center bg-secondary'>
<h1 className='text-sm text-main w-[95vw] m-auto'>Duck Stream</h1>
</header>
<main className='flex min-h-[92vh] flex-col items-center justify-center gap-5 bg-secondary'>
{children}
</main>
</body>
</html>
<>
<header className='h-[8vh] flex items-center bg-secondary'>
<h1 className='text-sm text-main w-[95vw] m-auto'>Duck Stream</h1>
</header>
<main className='flex min-h-[92vh] flex-col items-center justify-center gap-5 bg-secondary'>
{children}
</main>
</>
);
}

0 comments on commit fbcc82a

Please sign in to comment.