diff --git a/examples/with-iron-session/README.md b/examples/with-iron-session/README.md index 018ac06dc3577..b2f279f74a11b 100644 --- a/examples/with-iron-session/README.md +++ b/examples/with-iron-session/README.md @@ -8,7 +8,7 @@ It uses current best practices for authentication in the Next.js ecosystem. - [Static Generation](https://nextjs.org/docs/basic-features/pages#static-generation-recommended) (SG), recommended example - [Server-side Rendering](https://nextjs.org/docs/basic-features/pages#server-side-rendering) (SSR) example in case you need it -- Logged in status synchronized between browser windows/tabs using **`withUser`** hook and [`swr`](https://swr.now.sh/) module +- Logged in status synchronized between browser windows/tabs using **`useUser`** hook and [`swr`](https://swr.now.sh/) module - Layout based on the user's logged-in/out status - Session data is signed and encrypted in a cookie