diff --git a/client/src/ui/components/list/EntityList.tsx b/client/src/ui/components/list/EntityList.tsx index a17aaa8ec..c83f79076 100644 --- a/client/src/ui/components/list/EntityList.tsx +++ b/client/src/ui/components/list/EntityList.tsx @@ -39,8 +39,6 @@ export const EntityList = ({ const [selectedEntity, setSelectedEntity] = useState(null); const [searchTerm, setSearchTerm] = useState(""); - console.log({ list }); - useEffect(() => { const entity = list.find((entity) => entity.entity_id === current); if (entity) setSelectedEntity(entity || null); diff --git a/client/src/ui/modules/world-structures/WorldStructuresMenu.tsx b/client/src/ui/modules/world-structures/WorldStructuresMenu.tsx index 32f147b3a..35aa8082b 100644 --- a/client/src/ui/modules/world-structures/WorldStructuresMenu.tsx +++ b/client/src/ui/modules/world-structures/WorldStructuresMenu.tsx @@ -146,7 +146,7 @@ export const WorldStructuresMenu = ({ className }: { className?: string }) => { showOnlyMine ? (fragmentMines .filter((mine) => { - mine.owner === account.address; + return mine.owner === account.address; }) .map((mine) => mine.entity_id) as ID[]) : undefined