Skip to content

Commit 2cdd245

Browse files
authored
fix:(examples/nextjs) removed unused prob that caused confusion (#1861)
1 parent 211260f commit 2cdd245

File tree

1 file changed

+2
-2
lines changed
  • examples/nextjs/components/PostList

1 file changed

+2
-2
lines changed

examples/nextjs/components/PostList/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import React, { useState } from 'react'
22
import { usePosts } from '../../hooks/usePosts'
33

4-
export const PostList = ({ isClient }) => {
4+
export const PostList = () => {
55
const [postCount, setPostCount] = useState(10)
6-
const { data, isLoading, isFetching } = usePosts(postCount, isClient)
6+
const { data, isLoading, isFetching } = usePosts(postCount)
77

88
if (isLoading) return <div>Loading</div>
99

0 commit comments

Comments
 (0)