Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion simplq/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion simplq/src/api/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
Expand Down
2 changes: 1 addition & 1 deletion simplq/src/components/common/QrScanner/QrScanner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};

Expand Down