Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina committed Oct 2, 2024
1 parent f24b13f commit 0e5013d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions examples/swr-site/app/[lang]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,7 @@ export default async function RootLayout({ children, params: { lang } }) {
}

return (
<html
// need to set true RTL language
lang={lang === 'es' ? 'he' : lang}
dir={getDirection(lang)}
suppressHydrationWarning
>
<html lang={lang} dir={getDirection(lang)} suppressHydrationWarning>
<Head
backgroundColor={{
dark: 'rgb(15,23,42)',
Expand Down

0 comments on commit 0e5013d

Please sign in to comment.