Skip to content

Commit 49bfe68

Browse files
authored
docs: Update advanced-ssr.md (#8021)
typescript was yelling
1 parent 353e4ad commit 49bfe68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/framework/react/guides/advanced-ssr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ One way to think of this is that even though Server Components also _render_, th
2626
The first step of any React Query setup is always to create a `queryClient` and wrap your application in a `QueryClientProvider`. With Server Components, this looks mostly the same across frameworks, one difference being the filename conventions:
2727

2828
```tsx
29-
// In Next.js, this file would be called: app/providers.jsx
29+
// In Next.js, this file would be called: app/providers.tsx
3030
'use client'
3131

3232
// Since QueryClientProvider relies on useContext under the hood, we have to put 'use client' on top

0 commit comments

Comments
 (0)