fix profile posts and comments pagination
This commit is contained in:
parent
2ad2ff6ff5
commit
a989140653
|
@ -23,7 +23,7 @@ export default function UserComments (
|
|||
<UserHeader user={user} />
|
||||
<CommentsFlat
|
||||
comments={comments} cursor={cursor}
|
||||
variables={{ name: user.name }} includeParent noReply
|
||||
variables={{ name: user.name, sort: 'user' }} includeParent noReply
|
||||
/>
|
||||
</Layout>
|
||||
)
|
||||
|
|
|
@ -23,7 +23,7 @@ export default function UserPosts ({ data: { user, items: { items, cursor } } })
|
|||
<div className='mt-2'>
|
||||
<Items
|
||||
items={items} cursor={cursor}
|
||||
variables={{ name: user.name }}
|
||||
variables={{ name: user.name, sort: 'user' }}
|
||||
/>
|
||||
</div>
|
||||
</Layout>
|
||||
|
|
Loading…
Reference in New Issue