Adding battle game contract #1320
Annotations
10 warnings
Build:
frontend/apps/tamagotchi/src/app/hooks/use-tamagotchi.ts#L48
React Hook useEffect has missing dependencies: 'resetLesson', 'setIsAdmin', 'setIsReady', and 'setTamagotchi'. Either include them or remove the dependency array
|
Build:
frontend/apps/tamagotchi/src/app/hooks/use-read-wasm-state.ts#L83
React Hook useEffect has missing dependencies: 'handleStateChange', 'isArgument', and 'isPayload'. Either include them or remove the dependency array
|
Build:
frontend/apps/tamagotchi/src/app/hooks/use-read-wasm-state.ts#L88
React Hook useEffect has a missing dependency: 'readWasmState'. Either include it or remove the dependency array
|
Build:
frontend/apps/tamagotchi/src/app/hooks/use-read-wasm-state.ts#L92
React Hook useEffect has a missing dependency: 'alert'. Either include it or remove the dependency array
|
Build:
frontend/apps/tamagotchi/src/app/hooks/use-read-wasm-state.ts#L103
React Hook useEffect has a missing dependency: 'readWasmState'. Either include it or remove the dependency array
|
Build:
frontend/apps/tamagotchi/src/app/hooks/use-read-wasm-state.ts#L116
'readWasmState' is assigned a value but never used
|
Build:
frontend/apps/tamagotchi/src/app/hooks/use-lessons.ts#L25
React Hook useEffect has a missing dependency: 'setLesson'. Either include it or remove the dependency array
|
Build:
frontend/apps/tamagotchi/src/components/tamagotchi/tamagotchi-avatar/tamagotchi-avatar.tsx#L56
React Hook useEffect has missing dependencies: 'hasItem' and 'inBattle'. Either include them or remove the dependency array. If 'setItemsUsed' needs the current value of 'hasItem', you can also switch to useReducer instead of useState and read 'hasItem' in the reducer
|
Build:
frontend/apps/tamagotchi/src/components/tamagotchi/tamagotchi-avatar/tamagotchi-avatar.tsx#L96
React Hook useEffect has a missing dependency: 'inBattle'. Either include it or remove the dependency array
|
Build:
frontend/apps/tamagotchi/src/components/forms/create-tamagotchi-form/create-tamagotchi-form.tsx#L1
'Select' is defined but never used
|
Loading