Skip to content

Update tsconfig.json #27

Update tsconfig.json

Update tsconfig.json #27

Triggered via push February 23, 2024 15:15
Status Failure
Total duration 1m 45s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 12 warnings
build: v2/src/app/not-found.tsx#L57
React Hook "useRouter" cannot be called inside a callback. React Hooks must be called in a React function component or a custom React Hook function
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: components/Settings/Account/SociaMedia.tsx#L47
React Hook useEffect has a missing dependency: 'formData'. Either include it or remove the dependency array
build: components/Settings/Data-Security.tsx/2FA.tsx#L18
React Hook useEffect has missing dependencies: 'codeOnOpen' and 'onClose'. Either include them or remove the dependency array
build: components/Settings/Data-Security.tsx/2FA.tsx#L28
React Hook useEffect has a missing dependency: 'onOpen'. Either include it or remove the dependency array
build: components/UserProfile/Events.tsx#L69
React Hook useEffect has a missing dependency: 'closeModal'. Either include it or remove the dependency array
build: components/UserProfile/ProfieEvent.tsx#L42
React Hook useEffect has a missing dependency: 'pagination'. Either include it or remove the dependency array
build: components/components/modal/EditEventModal.tsx#L29
The 'initialState' object makes the dependencies of useEffect Hook (at line 57) change on every render. To fix this, wrap the initialization of 'initialState' in its own useMemo() Hook
build: components/components/modal/EditEventModal.tsx#L65
React Hook useEffect has a missing dependency: 'data.endDate'. Either include it or remove the dependency array
build: pages/create-events/index.tsx#L52
React Hook useEffect has a missing dependency: 'eventData.endDate'. Either include it or remove the dependency array
build: pages/event/[id].tsx#L90
React Hook useEffect has missing dependencies: 'getEventId' and 'getUserId'. Either include them or remove the dependency array
build: pages/loading/[token]/[userId].tsx#L32
React Hook useEffect has missing dependencies: 'userCameFrom' and 'userCameFromForOAuth'. Either include them or remove the dependency array