Skip to content

Commit 561802a

Browse files
committed
chore: upd readme
1 parent 07c8dee commit 561802a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,11 @@ export default compiler.next(
136136
> [!NOTE]
137137
> This guide is for Next.js App Router apps only. Guides for other setups are coming soon (ETA April 2024).
138138
139-
If you plan on having `'use client'` components in your app (you probably do), you'll need to also wrap your entire component tree in `<ReplexicaProvider />`:
139+
If you plan on having `'use client'` components *at least somewhere* in your app (you probably do), you'll need to also wrap your entire component tree in `<ReplexicaProvider />`:
140140

141141
```jsx
142+
// src/app/layout.tsx
143+
142144
import { ReplexicaIntlProvider } from '@replexica/react/client';
143145
import { loadLocaleFromCookie } from '@replexica/react/next';
144146

0 commit comments

Comments
 (0)