diff --git a/simplq/readme.md b/simplq/readme.md index 65d93aa5..9c4a62e3 100644 --- a/simplq/readme.md +++ b/simplq/readme.md @@ -18,4 +18,4 @@ We've also set up **Sentry** to monitor the status of the website and to quickly The backend service is written in **Java** and is hosted on **AWS**. We connect to the backend APIs using **axios** and the code dealing with these services are stored in the **src/services** folder. All the non presentational business logic goes here. -Adding comments to describe parts of code that are hard to understand is encouraged. These comments could also be links to articles or stackoverflow answers that were used to solve any problems that occured. +Adding comments to describe parts of code that are hard to understand is encouraged. These comments could also be links to articles or stackoverflow answers that were used to solve any problems that occurred. diff --git a/simplq/src/api/auth.js b/simplq/src/api/auth.js index c70c4997..12efac51 100644 --- a/simplq/src/api/auth.js +++ b/simplq/src/api/auth.js @@ -65,7 +65,7 @@ const useMakeAuthedRequest = () => { if (error.response) { // Response has been received from the server const message = error.response.data.message; - throw new Error(message || 'Unknown error occured. We are looking into this.'); + throw new Error(message || 'Unknown error occurred. We are looking into this.'); } else { // No response from server, should be a network issue throw new Error('Are you offline? Check your internet connection and try again.'); diff --git a/simplq/src/components/common/QrScanner/QrScanner.jsx b/simplq/src/components/common/QrScanner/QrScanner.jsx index 53f869b9..1a797de5 100644 --- a/simplq/src/components/common/QrScanner/QrScanner.jsx +++ b/simplq/src/components/common/QrScanner/QrScanner.jsx @@ -30,7 +30,7 @@ export default () => { }; const handleError = (err) => { - dispatch(setErrorPopupMessage('An error occured, more details can be found in the console')); + dispatch(setErrorPopupMessage('An error occurred, more details can be found in the console')); console.error(err); };