Skip to content

Commit 62b3f68

Browse files
remove mockapi data and organization.
1 parent 2e3811f commit 62b3f68

35 files changed

+57
-778
lines changed

src/api/fetchApi/index.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ export const fetchApi = ({
1919
headers?: any;
2020
params?: any;
2121
}): Promise<any> => {
22-
// if (process.env.REACT_APP_MOCKAPI_RESPONSE) {
23-
// return new Promise((resolve, reject) => {
24-
// reject();
25-
// });
26-
// }
2722
return axios({
2823
method: method || httpMethods.get,
2924
url,
@@ -46,11 +41,6 @@ export const fetchApiWithAuthRequest = ({
4641
authenticationToken: string;
4742
headers?: any;
4843
}): Promise<any> => {
49-
// if (process.env.REACT_APP_MOCKAPI_RESPONSE) {
50-
// return new Promise((resolve, reject) => {
51-
// reject();
52-
// });
53-
// }
5444
return axios({
5545
method: method || httpMethods.get,
5646
url,

0 commit comments

Comments
 (0)