From 9a7416076645ea45b9a7d7e0d27867a3a1b6472b Mon Sep 17 00:00:00 2001 From: Hasan Ali <102517887+hasancruk@users.noreply.github.com> Date: Wed, 27 Dec 2023 16:11:55 +0000 Subject: [PATCH] fix: typo in SSR documentation (#956) --- sections/advanced/server-side-rendering.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sections/advanced/server-side-rendering.mdx b/sections/advanced/server-side-rendering.mdx index 9b2d3ac5..3f1247fd 100644 --- a/sections/advanced/server-side-rendering.mdx +++ b/sections/advanced/server-side-rendering.mdx @@ -86,7 +86,7 @@ On this version, you [only need to add](https://github.com/vercel/next.js/blob/c #### App directory -For routes defined in the `app/` directory, in Next.js v13+, you'll need to put a sytled-components registry in one of your layout files, as [described in Next.js docs](https://nextjs.org/docs/app/building-your-application/styling/css-in-js#styled-components). Note that this depends on styled-components v6+. Also note that the `'use client'` directive is used - so while your page will be server-side rendered, styled-components will still appear in your client bundle. +For routes defined in the `app/` directory, in Next.js v13+, you'll need to put a styled-components registry in one of your layout files, as [described in Next.js docs](https://nextjs.org/docs/app/building-your-application/styling/css-in-js#styled-components). Note that this depends on styled-components v6+. Also note that the `'use client'` directive is used - so while your page will be server-side rendered, styled-components will still appear in your client bundle. ### Gatsby