Skip to content

Commit

Permalink
Fix html nesting error
Browse files Browse the repository at this point in the history
  • Loading branch information
delishad21 committed Oct 8, 2024
1 parent 0e74f34 commit 0f10027
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 17 deletions.
4 changes: 2 additions & 2 deletions frontend/peerprep/app/(landing)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ export default function RootLayout({
children: React.ReactNode;
}) {
return (
<html suppressHydrationWarning lang="en">
<html lang="en">
<body>
<div>{children}</div>
<div>{children}</div>;
</body>
</html>
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use client";

export default function Home() {
export default function Landing() {
return (
<div className="flex flex-col items-center p-8">
<h1 className="text-3xl font-bold text-center">
Placeholder landing page
Placeholder Landing page
</h1>
</div>
);
Expand Down
13 changes: 0 additions & 13 deletions frontend/peerprep/app/layout.tsx

This file was deleted.

0 comments on commit 0f10027

Please sign in to comment.