Update page metadata

This commit is contained in:
2022-12-28 16:08:33 +00:00
parent 00b0cecf6c
commit d2a1b7f5ac
12 changed files with 14 additions and 40 deletions

View File

@ -6,6 +6,7 @@ import { useContext, useEffect, useState } from "react";
import Event from "../nostr/Event";
import { NostrContext } from "..";
import { resetProfile } from "../state/Users";
import Nostrich from "../nostrich.jpg";
export default function ProfilePage() {
const system = useContext(NostrContext);
@ -27,7 +28,7 @@ export default function ProfilePage() {
useEffect(() => {
if (user) {
setName(user.name ?? "");
setPicture(user.picture ?? "");
setPicture(user.picture ?? Nostrich);
setAbout(user.about ?? "");
setWebsite(user.website ?? "");
setNip05(user.nip05 ?? "");