Skip to content

Commit

Permalink
GOK-364 | Fix. Remove unnecessary await | [Sweety/Riya]
Browse files Browse the repository at this point in the history
  • Loading branch information
riyaTw committed Sep 26, 2023
1 parent 3befd94 commit c7bfddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/api-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const fetcher = async (url) => {
if (!response.ok) {
throw new Error(`HTTP error! Status: ${response.status}`);
}
return await response.json();
return response.json();
};

const controller = new AbortController();
Expand Down

0 comments on commit c7bfddd

Please sign in to comment.