Skip to content

Commit

Permalink
fix commnts
Browse files Browse the repository at this point in the history
  • Loading branch information
aymericdelab committed Dec 11, 2024
1 parent 1df6050 commit 00e5cac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions client/src/ui/components/list/EntityList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ export const EntityList = ({
const [selectedEntity, setSelectedEntity] = useState<any>(null);
const [searchTerm, setSearchTerm] = useState("");

console.log({ list });

useEffect(() => {
const entity = list.find((entity) => entity.entity_id === current);
if (entity) setSelectedEntity(entity || null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00e5cac

Please sign in to comment.