diff --git a/package.json b/package.json index 3bad3557623f129ad9d43f5c8dba5eef65554192..542b76bfc0856f37bb887cd04bf4d0f494111e42 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "text-mask-addons": "^3.8.0" }, "scripts": { - "start": "cross-env REACT_APP_BASE_URL=https://pilar-be-dev.cs.ui.ac.id parcel public/index.html", + "start": "cross-env REACT_APP_BASE_URL=$(grep REACT_APP_BASE_URL .env_var | cut -d '=' -f2) parcel public/index.html", "build": "cross-env REACT_APP_BASE_URL=$(grep REACT_APP_BASE_URL .env_var | cut -d '=' -f2) parcel build public/index.html", "test": "jest", "test:coverage": "jest --coverage", diff --git a/src/component/TableUtils.jsx b/src/component/TableUtils.jsx index 4b7358e65d9847947de9cbe9d18d42c8f4b578ae..d995ae1027ff401da88c5fcda1eccb3aad832b67 100644 --- a/src/component/TableUtils.jsx +++ b/src/component/TableUtils.jsx @@ -68,7 +68,7 @@ export const itemDonationStatus = (donation) => { } export const preorderStock = (product) => ( -