Skip to content

Commit

Permalink
Fix profile editor not showing for new accounts (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
itexpert120 authored Jun 21, 2024
1 parent d79b91c commit 5bd3ade
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions apps/old/widget/components/profile/ProfileEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ if (!accountId) {

const profile = Social.getr(`${accountId}/profile`);

if (!profile) {
return "";
}

const [name, setName] = useState(profile.name ?? "");
const [description, setDescription] = useState(profile.description ?? "");
const [location, setLocation] = useState(profile.location ?? "");
Expand Down

0 comments on commit 5bd3ade

Please sign in to comment.