Skip to content

fix(admin): prevent inventory page crash from paginated API response #417

fix(admin): prevent inventory page crash from paginated API response

fix(admin): prevent inventory page crash from paginated API response #417

Status Failure
Total duration 1m 14s
Artifacts

ci.yml

on: pull_request
Lint Frontend
24s
Lint Frontend
Lint Backend
21s
Lint Backend
Lint Admin
20s
Lint Admin
Build Frontend
29s
Build Frontend
Fit to window
Zoom out
Zoom in

Annotations

1 error and 13 warnings
Lint Backend
Process completed with exit code 1.
Lint Backend
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Lint Admin
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Lint Admin: admin/src/pages/Order.jsx#L52
React Hook useEffect has a missing dependency: 'fetchAllOrders'. Either include it or remove the dependency array
Lint Admin: admin/src/pages/List.jsx#L53
React Hook useEffect has a missing dependency: 'fetchList'. Either include it or remove the dependency array
Lint Admin: admin/src/pages/Home.jsx#L59
React Hook useEffect has a missing dependency: 'fetchCounts'. Either include it or remove the dependency array
Lint Admin: admin/src/Context/NotificationContext.jsx#L118
React Hook useEffect has missing dependencies: 'fetchNotifications' and 'socket'. Either include them or remove the dependency array
Lint Admin: admin/src/Context/NotificationContext.jsx#L8
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
Lint Admin: admin/src/Context/AuthProvider.jsx#L4
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
Lint Admin: admin/src/Context/AdminProvider.jsx#L28
React Hook useEffect has a missing dependency: 'getAdmin'. Either include it or remove the dependency array
Lint Admin: admin/src/Context/AdminProvider.jsx#L6
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
Lint Frontend
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Lint Frontend: frontend/src/context/ShopContext.jsx#L221
Unexpected console statement
Build Frontend
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/