Repository navigation
(refactor) MXWAR-70 #41
build-run.yml
on: pull_request
Run Lint, Build and Deploy
30s
Annotations
10 errors and 2 warnings
|
Run Lint, Build and Deploy:
src/components/custom/sidebar/AppSidebar.tsx#L55
Replace `·icon:·<Network·size={24}·/>,·label:·'Accounting',·route:·'accounting',·requiredPermission:·'READ_ACCOUNT'}` with `⏎······icon:·<Network·size={24}·/>,⏎······label:·'Accounting',⏎······route:·'accounting',⏎······requiredPermission:·'READ_ACCOUNT',⏎····},`
|
|
Run Lint, Build and Deploy:
src/components/custom/sidebar/AppSidebar.tsx#L54
Replace `·icon:·<BarChart3·size={24}·/>,·label:·'Reports',·route:·'reports',·requiredPermission:·'READ_REPORT'` with `⏎······icon:·<BarChart3·size={24}·/>,⏎······label:·'Reports',⏎······route:·'reports',⏎······requiredPermission:·'READ_REPORT',⏎····`
|
|
Run Lint, Build and Deploy:
src/components/custom/sidebar/AppSidebar.tsx#L53
Replace `·icon:·<Wallet·size={24}·/>,·label:·'Savings',·route:·'individual-collection-sheet',·requiredPermission:·'READ_SAVINGSACCOUNT'` with `⏎······icon:·<Wallet·size={24}·/>,⏎······label:·'Savings',⏎······route:·'individual-collection-sheet',⏎······requiredPermission:·'READ_SAVINGSACCOUNT',⏎····`
|
|
Run Lint, Build and Deploy:
src/components/custom/sidebar/AppSidebar.tsx#L52
Replace `·icon:·<HandCoins·size={24}·/>,·label:·'Loans',·route:·'navigation',·requiredPermission:·'READ_LOAN'` with `⏎······icon:·<HandCoins·size={24}·/>,⏎······label:·'Loans',⏎······route:·'navigation',⏎······requiredPermission:·'READ_LOAN',⏎····`
|
|
Run Lint, Build and Deploy:
src/components/custom/sidebar/AppSidebar.tsx#L51
Replace `·icon:·<User·size={24}·/>,·label:·'Clients',·route:·'clients',·requiredPermission:·'READ_CLIENT'` with `⏎······icon:·<User·size={24}·/>,⏎······label:·'Clients',⏎······route:·'clients',⏎······requiredPermission:·'READ_CLIENT',⏎····`
|
|
Run Lint, Build and Deploy:
src/components/custom/sidebar/AppSidebar.tsx#L50
Replace `·icon:·<Home·size={24}··/>,·label:·'Home',·route:·'dashboard',·requiredPermission:·null` with `⏎······icon:·<Home·size={24}·/>,⏎······label:·'Home',⏎······route:·'dashboard',⏎······requiredPermission:·null,⏎····`
|
|
|
|
Run Lint, Build and Deploy:
src/components/custom/sidebar/AppSidebar.tsx#L42
Replace `(state)` with `state`
|
|
Run Lint, Build and Deploy:
src/components/custom/sidebar/AppSidebar.tsx#L40
't' is assigned a value but never used. Allowed unused vars must match /^_/u
|
|
|
|
Run Lint, Build and Deploy
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-java@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run Lint, Build and Deploy:
src/pages/loans/loans-view/LoansView.tsx#L48
React Hook useEffect has a missing dependency: 'groupId'. Either include it or remove the dependency array
|