diff --git a/client/src/components/footer.tsx b/client/src/components/footer.tsx index 298d000..81b019b 100644 --- a/client/src/components/footer.tsx +++ b/client/src/components/footer.tsx @@ -41,7 +41,7 @@ export function Footer() { console.error(error); } })(); - }); + }, []); const unsetContinents = meetups.map((meetup) => meetup.continent); const continents = [...new Set(unsetContinents)]; diff --git a/package.json b/package.json index fe5d878..5f0e909 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,8 @@ "prettier": "3.0.3", "ts-node": "10.9.1", "turbo": "1.10.16", - "typescript": "5.2.2" + "typescript": "5.2.2", + "cross-env": "7.0.3" }, "pnpm": { "peerDependencyRules": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d883983..dbc8b0e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,6 +23,9 @@ importers: '@typescript-eslint/eslint-plugin': specifier: 6.10.0 version: 6.10.0(@typescript-eslint/parser@6.10.0)(eslint@8.53.0)(typescript@5.2.2) + cross-env: + specifier: 7.0.3 + version: 7.0.3 eslint: specifier: 8.53.0 version: 8.53.0 @@ -1661,6 +1664,14 @@ packages: /create-require@1.1.1: resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} + /cross-env@7.0.3: + resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==} + engines: {node: '>=10.14', npm: '>=6', yarn: '>=1'} + hasBin: true + dependencies: + cross-spawn: 7.0.3 + dev: true + /cross-spawn@7.0.3: resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} engines: {node: '>= 8'}