diff --git a/src/Components/Profile/Templates/TabsView.tsx b/src/Components/Profile/Templates/TabsView.tsx index 2b046f7b..e32501a4 100644 --- a/src/Components/Profile/Templates/TabsView.tsx +++ b/src/Components/Profile/Templates/TabsView.tsx @@ -50,7 +50,7 @@ export const TabsView = ({ const appState = useAppState() const getUserProfile = (id: string) => { return items.find( - (i) => i.user_created.id === id && i.layer?.itemType.name === appState.userType, + (i) => i.user_created?.id === id && i.layer?.itemType.name === appState.userType, ) }