Skip to content

Commit

Permalink
fix: Fix tailwind FOUC
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 13, 2024
1 parent 897151f commit 3d55da0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/tailwind/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ export const metadata: Metadata = {
/** Root layout */
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<ServerTarget tag="html" lang="en">
<body className={inter.className}>
<Core t="background .3s" />
<ServerTarget />
{children}
</body>
</html>
</ServerTarget>
);
}

0 comments on commit 3d55da0

Please sign in to comment.