mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-03-29 11:12:12 +01:00
Fix bookmark view not showing latest bookmarks
This commit is contained in:
parent
a7a9f9d2c2
commit
359dbcb508
5
.changeset/fair-dingos-admire.md
Normal file
5
.changeset/fair-dingos-admire.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"nostrudel": patch
|
||||
---
|
||||
|
||||
Fix bookmark view not showing latest bookmarks
|
@ -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 />;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user