Skip to content

Adding new reducers #12

Adding new reducers

Adding new reducers #12

Triggered via push June 23, 2023 02:03
Status Failure
Total duration 46s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 9 warnings
Node 18 on ubuntu-latest: src/components/AuthForm.tsx#L8
`userErrCode` should be a `Set`, and use `userErrCode.has()` to check existence or non-existence
Node 18 on ubuntu-latest: src/components/AuthForm.tsx#L28
Do not use "@ts-ignore" because it alters compilation errors
Node 18 on ubuntu-latest: src/components/AuthForm.tsx#L30
Do not use "@ts-ignore" because it alters compilation errors
Node 18 on ubuntu-latest: src/components/LoginProtected.tsx#L13
Unexpected negated condition
Node 18 on ubuntu-latest: src/lib/ws.ts#L1
Use `undefined` instead of `null`
Node 18 on ubuntu-latest
Prefer `addEventListener` over `onmessage`. Note that there is difference between `SharedWorker#onmessage` and `SharedWorker#addEventListener('message')`
Node 18 on ubuntu-latest
Prefer `addEventListener` over `onclose`
Node 18 on ubuntu-latest
Do not use trailing space between `console.log` parameters
Node 18 on ubuntu-latest
Use `undefined` instead of `null`
Node 18 on ubuntu-latest
Use `undefined` instead of `null`
Node 18 on macos-latest
The job was canceled because "_18_ubuntu-latest" failed.
Node 18 on macos-latest
The operation was canceled.
Node 18 on windows-latest
The job was canceled because "_18_ubuntu-latest" failed.
Node 18 on windows-latest
The operation was canceled.
Node 18 on ubuntu-latest: src/App.tsx#L11
React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array
Node 18 on ubuntu-latest: src/components/AuthForm.tsx#L37
React Hook useCallback has a missing dependency: 'mutation'. Either include it or remove the dependency array
Node 18 on ubuntu-latest: src/lib/reducers/groups.ts#L15
'state' is defined but never used
Node 18 on ubuntu-latest: src/lib/reducers/groups.ts#L15
'action' is defined but never used
Node 18 on ubuntu-latest: src/lib/reducers/message.ts#L35
Generic Object Injection Sink
Node 18 on ubuntu-latest: src/pages/Home.tsx#L28
'isLoading' is assigned a value but never used
Node 18 on ubuntu-latest: src/pages/Home.tsx#L28
'data' is assigned a value but never used
Node 18 on ubuntu-latest: src/pages/Home.tsx#L28
'isError' is assigned a value but never used
Node 18 on ubuntu-latest: src/pages/Home.tsx#L28
'error' is assigned a value but never used