chore: drop verbose comment on refreshPosts
This commit is contained in:
parent
d97822c7e8
commit
b1af5eccf0
1 changed files with 0 additions and 3 deletions
|
|
@ -148,9 +148,6 @@ const handleCopyId = (post: Post) => copyToClipboard(post.id, trans('posts.actio
|
|||
|
||||
const hasActiveSearch = computed(() => Boolean(searchQuery.value?.trim()));
|
||||
|
||||
// `reset: ['posts']` forces a replace on the InfiniteScroll merge prop —
|
||||
// without it, every broadcast would append a fresh page 1 onto the
|
||||
// existing list and produce duplicates.
|
||||
const refreshPosts = () => router.reload({ only: ['posts'], reset: ['posts'] });
|
||||
|
||||
useWorkspaceEcho(
|
||||
|
|
|
|||
Loading…
Reference in a new issue