Clear state when not found

cgen-98e6572cb73d450cb9686dd5a7fff683
This commit is contained in:
Builder.io 2025-10-04 23:54:42 +00:00
parent 6cf0485648
commit b756171b8f

View file

@ -136,6 +136,10 @@ const ProfilePassport = () => {
if (!resolvedProfile || !resolvedId) {
if (!cancelled) {
setProfile(null);
setAchievements([]);
setInterests([]);
setProjects([]);
setNotFound(true);
}
return;