Skip to content

Commit 5bd3ade

Browse files
authored
Fix profile editor not showing for new accounts (#436)
1 parent d79b91c commit 5bd3ade

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

apps/old/widget/components/profile/ProfileEdit.jsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ if (!accountId) {
1515

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

18-
if (!profile) {
19-
return "";
20-
}
21-
2218
const [name, setName] = useState(profile.name ?? "");
2319
const [description, setDescription] = useState(profile.description ?? "");
2420
const [location, setLocation] = useState(profile.location ?? "");

0 commit comments

Comments
 (0)