mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
Merge pull request #51 from utopia-os/potential-fix-app-crash
fix(other): potentially fix an app crash
This commit is contained in:
commit
a581fa3c1a
@ -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,
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user