mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-27 20:17:05 +02:00
Fix bookmark view not showing latest bookmarks
This commit is contained in:
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 { 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 { useParams } from "react-router-dom";
|
||||||
|
|
||||||
import VerticalPageLayout from "../../components/vertical-page-layout";
|
import VerticalPageLayout from "../../components/vertical-page-layout";
|
||||||
@@ -55,7 +55,7 @@ function BookmarkAddressItem({ pointer }: { pointer: AddressPointer }) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function BookmarksPage({ pubkey }: { pubkey: string }) {
|
function BookmarksPage({ pubkey }: { pubkey: string }) {
|
||||||
const { list } = userUserBookmarksList(pubkey);
|
const { list } = userUserBookmarksList(pubkey, undefined, { alwaysRequest: true });
|
||||||
|
|
||||||
if (!list) return <Spinner />;
|
if (!list) return <Spinner />;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user