diff options
| -rw-r--r-- | packages/web/app/dashboard/bookmarks/components/BookmarkOptions.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/web/app/dashboard/bookmarks/components/BookmarkOptions.tsx b/packages/web/app/dashboard/bookmarks/components/BookmarkOptions.tsx index e6d0cd15..14515191 100644 --- a/packages/web/app/dashboard/bookmarks/components/BookmarkOptions.tsx +++ b/packages/web/app/dashboard/bookmarks/components/BookmarkOptions.tsx @@ -37,7 +37,7 @@ export default function BookmarkOptions({ bookmark }: { bookmark: ZBookmark }) { const [isTextEditorOpen, setTextEditorOpen] = useState(false); - const invalidateBookmarksCache = api.useUtils().bookmarks.invalidate; + const invalidateBookmarksCache = api.useUtils().bookmarks.getBookmarks.invalidate; const onError = () => { toast({ |
