Fix bookmark view not showing latest bookmarks

This commit is contained in:
hzrd149 2024-09-10 09:08:45 -05:00
parent a7a9f9d2c2
commit 359dbcb508
2 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
"nostrudel": patch
---
Fix bookmark view not showing latest bookmarks

View File

@ -1,5 +1,5 @@
import { AddressPointer, EventPointer } from "nostr-tools/nip19";
import { Button, ButtonGroup, Flex, Heading, SkeletonText, Spinner } from "@chakra-ui/react";
import { Button, ButtonGroup, Flex, Heading, SimpleGrid, SkeletonText, Spinner } from "@chakra-ui/react";
import { useParams } from "react-router-dom";
import VerticalPageLayout from "../../components/vertical-page-layout";
@ -55,7 +55,7 @@ function BookmarkAddressItem({ pointer }: { pointer: AddressPointer }) {
}
function BookmarksPage({ pubkey }: { pubkey: string }) {
const { list } = userUserBookmarksList(pubkey);
const { list } = userUserBookmarksList(pubkey, undefined, { alwaysRequest: true });
if (!list) return <Spinner />;