diff --git a/src/pages/profile.tsx b/src/pages/profile.tsx index 0b74302..efc14af 100644 --- a/src/pages/profile.tsx +++ b/src/pages/profile.tsx @@ -22,6 +22,7 @@ const ProfilePage = () => { useEffect(() => { if (profiles.current == null) return; + if (!profiles.items) profiles.items = []; const profile = profiles.items![profiles.current]; if (!profile) return;