diff --git a/src/components/app-body/nostr/nostr-post/profile-post.js b/src/components/app-body/nostr/nostr-post/profile-post.js index 4e54755..56b49d0 100644 --- a/src/components/app-body/nostr/nostr-post/profile-post.js +++ b/src/components/app-body/nostr/nostr-post/profile-post.js @@ -16,7 +16,12 @@ function ProfilePost (props) { const { bchWalletState } = props.appData const [formData, setFormData] = useState({ name: '', - about: '' + about: '', + picture: '', + display_name: '', + website: '', + banner: '', + bot: false }) const [errorMsg, setErrorMsg] = useState('') @@ -90,7 +95,12 @@ function ProfilePost (props) { const resetForm = () => { setFormData({ name: '', - about: '' + about: '', + picture: '', + display_name: '', + website: '', + banner: '', + bot: false }) } @@ -137,6 +147,67 @@ function ProfilePost (props) { /> + + Profile Picture URL + + + + + Display Name + + + + + Website + + + + + Banner URL + + + + + { + setFormData({ + ...formData, + bot: e.target.checked + }) + setSuccessMsg('') + setErrorMsg('') + }} + /> + +
{!onFetch && (