fix: game end condition not triggering when last player remains #532
Annotations
1 error and 10 warnings
|
lint
Process completed with exit code 1.
|
|
lint:
src/editor/core/panels/SettingsPanel.tsx#L71
React Hook useEffect has missing dependencies: 'onUpdateObjects' and 'state.mapData'. Either include them or remove the dependency array. If 'onUpdateObjects' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
|
lint:
src/editor/core/EditorCanvas.tsx#L121
Unexpected any. Specify a different type
|
|
lint
React Hook useCallback has missing dependencies: 'selectedFeature' and 'state.snapMode'. Either include them or remove the dependency array
|
|
lint:
src/components/game/hooks/useWebGPURenderer.ts#L976
React Hook useCallback has missing dependencies: 'startAnimationLoop' and 'workerBridgeRef'. Either include them or remove the dependency array
|
|
lint:
src/components/game/hooks/useWebGPURenderer.ts#L638
Unexpected any. Specify a different type
|
|
lint:
src/components/game/Minimap.tsx#L164
Unexpected any. Specify a different type
|
|
lint:
src/components/game/Minimap.tsx#L163
Unexpected any. Specify a different type
|
|
lint:
src/components/game/Minimap.tsx#L163
Unexpected any. Specify a different type
|
|
lint:
src/components/game/CommandCard/index.tsx#L68
React Hook useMemo has an unnecessary dependency: 'buildingStateVersion'. Either exclude it or remove the dependency array
|
|
lint:
src/app/layout.tsx#L20
Custom fonts not added in `pages/_document.js` will only load for a single page. This is discouraged. See: https://nextjs.org/docs/messages/no-page-custom-font
|