commit
eab07add8c
@ -8,7 +8,6 @@ import { RootState } from "State/Store";
|
||||
import { UserCache } from "Cache/UserCache";
|
||||
|
||||
import messages from "./messages";
|
||||
|
||||
interface BookmarksProps {
|
||||
pubkey: HexKey;
|
||||
bookmarks: readonly TaggedRawEvent[];
|
||||
|
@ -91,7 +91,13 @@ function RelaysTab({ id }: { id: HexKey }) {
|
||||
|
||||
function BookMarksTab({ id }: { id: HexKey }) {
|
||||
const bookmarks = useBookmarkFeed(id);
|
||||
return <Bookmarks pubkey={id} bookmarks={bookmarks} related={bookmarks} />;
|
||||
return (
|
||||
<Bookmarks
|
||||
pubkey={id}
|
||||
bookmarks={bookmarks.filter(e => e.kind === EventKind.TextNote)}
|
||||
related={bookmarks.filter(e => e.kind !== EventKind.TextNote)}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
export default function ProfilePage() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user