We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 211260f commit 2cdd245Copy full SHA for 2cdd245
examples/nextjs/components/PostList/index.js
@@ -1,9 +1,9 @@
1
import React, { useState } from 'react'
2
import { usePosts } from '../../hooks/usePosts'
3
4
-export const PostList = ({ isClient }) => {
+export const PostList = () => {
5
const [postCount, setPostCount] = useState(10)
6
- const { data, isLoading, isFetching } = usePosts(postCount, isClient)
+ const { data, isLoading, isFetching } = usePosts(postCount)
7
8
if (isLoading) return <div>Loading</div>
9
0 commit comments