diff --git a/src/components/Profile.tsx b/src/components/Profile.tsx index d6435d2..94bd3ed 100644 --- a/src/components/Profile.tsx +++ b/src/components/Profile.tsx @@ -122,7 +122,7 @@ const Profile = (props: IProfile) => { variant="standard" size="small" onChange={(e: any) => setName(e.target.value)} - value={name} + value={name || ""} className="name" /> { label="IPNS" variant="standard" size="small" - value={getStorageItem(config.IPNS_DATA + account, "")} + value={getStorageItem(config.IPNS_DATA + account, "") || ""} className="name" /> { label="Wallet" variant="standard" size="small" - value={account} + value={account || ""} className="wallet" /> { maxRows={30} size="small" onChange={(e: any) => setBio(e.target.value)} - value={bio} + value={bio || ""} />