Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.

Commit b85d4f5

Browse files
committed
Update api.js
1 parent 05859a4 commit b85d4f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function callApi(endpoint, options = {}) {
1414
const controller = typeof AbortController !== 'undefined' ? new AbortController() : null;
1515
const timeout = setTimeout(
1616
() => {
17-
if(controller && controlle.abort) controller.abort();
17+
if(controller && controller.abort) controller.abort();
1818
},
1919
opt.timeout,
2020
);

0 commit comments

Comments
 (0)