Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit d212113

Browse files
committed
init
1 parent 39ef34f commit d212113

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

client/.eslintrc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
},
1414
settings: {
1515
react: {
16-
version: 'detect',
16+
version: "18.2.0", // Automatically detect React version
1717
},
1818
},
1919
extends: [
@@ -22,6 +22,6 @@ module.exports = {
2222
],
2323
plugins: ['react', 'react-hooks'],
2424
rules: {
25-
'react/prop-types': 'error', // Ensure prop types are validated
25+
'react/prop-types': 'error',
2626
},
2727
};

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"eslint": "^8.0.0",
8080
"eslint-config-prettier": "^9.1.0",
8181
"eslint-plugin-prettier": "^5.1.3",
82-
"eslint-plugin-react": "^7.37.1",
82+
"eslint-plugin-react": "^7.37.4",
8383
"eslint-plugin-react-hooks": "^4.6.2",
8484
"globals": "^15.11.0",
8585
"postcss": "^8.4.38",

client/src/views/pages/freight/shipping.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
faMapMarkedAlt,
2121
} from '@fortawesome/free-solid-svg-icons'
2222
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
23-
import { useCreateShippingMutation } from './../../../state/api'
23+
import { useCreateShippingMutation } from '../../../state/adminApi'
2424

2525
const Shipping = () => {
2626
const landCargoOptions = [

client/src/views/pages/freight/transaction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {
1818
useGetShippingQuery,
1919
useUpdateShippingMutation,
2020
useDeleteShippingMutation,
21-
} from '../integrate/finance/adminApi'
21+
} from '../../../state/adminApi'
2222
import ExcelJS from 'exceljs'
2323
import { saveAs } from 'file-saver'
2424
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'

0 commit comments

Comments
 (0)