diff --git a/src/components/AddJob/AddJob.jsx b/src/components/AddJob/AddJob.jsx index bbd0094..14c85f0 100644 --- a/src/components/AddJob/AddJob.jsx +++ b/src/components/AddJob/AddJob.jsx @@ -24,10 +24,7 @@ function AddJob({ popUpHandler, categories }) { let dispatch = useDispatch(); - const getWalletDetails = getWalletDetail( - userDetails.country, - walletDetails - ); + const getWalletDetails = getWalletDetail(userDetails.country, walletDetails); const walletAmount = getWalletDetails; // GETTING USER BALANCE BASED ON COUNTRY SELECTED const initialValues = { ...IV, country: walletAmount?.description }; const [requestStatus, setRequestStatus] = useState(initialReqState); // Holds state when submit button is pressed @@ -83,6 +80,9 @@ function AddJob({ popUpHandler, categories }) { // Check if the user is using iOS const isIOS = /MacIntel|MacPPC/.test(navigator.platform) && !window.MSStream; + // Check if the user is using Linux + const isLinux = /Linux/.test(navigator.platform); + // Check if the user is using Windows const isWindows = /Windows/.test(navigator.userAgent); @@ -187,7 +187,7 @@ function AddJob({ popUpHandler, categories }) {