fix: wrong type
This commit is contained in:
parent
c408e7462e
commit
106b1dcbd8
@ -1,7 +1,7 @@
|
|||||||
import { useUserProfile } from "@snort/system-react";
|
import { useUserProfile } from "@snort/system-react";
|
||||||
import { Link, useParams } from "react-router-dom";
|
import { Link, useParams } from "react-router-dom";
|
||||||
import { ProfileImage } from "../element/profile-image";
|
import { ProfileImage } from "../element/profile-image";
|
||||||
import { MetadataCache, parseNostrLink } from "@snort/system";
|
import { CachedMetadata, parseNostrLink } from "@snort/system";
|
||||||
import { LatestTorrents } from "../element/trending";
|
import { LatestTorrents } from "../element/trending";
|
||||||
import { Text } from "../element/text";
|
import { Text } from "../element/text";
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ export function ProfileSection({ pubkey }: { pubkey: string }) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function WebSiteLink({ profile }: { profile?: MetadataCache }) {
|
function WebSiteLink({ profile }: { profile?: CachedMetadata }) {
|
||||||
const website = profile?.website;
|
const website = profile?.website;
|
||||||
if (!website) return;
|
if (!website) return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user