Skip to content

Commit

Permalink
chore(time): update PageLayout component to use a div instead of main…
Browse files Browse the repository at this point in the history
… tag (#97)
  • Loading branch information
SWARVY committed Aug 8, 2024
1 parent c5206d9 commit e792da7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/time/src/app/PageLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ const Page = ({
return (
<>
{nav && <Nav />}
<main className={cn('m-auto mt-14 max-w-xl p-4', className)}>
{children}
</main>
<div className={cn('m-auto mt-14 p-4', className)}>{children}</div>
{footer && <Footer />}
</>
);
Expand Down

0 comments on commit e792da7

Please sign in to comment.