aboutsummaryrefslogtreecommitdiff
path: root/src/features/counter/counterAPI.js
diff options
context:
space:
mode:
authorAdrián Oliva <adrian.oliva@cimat.mx>2023-05-17 10:50:12 -0600
committerAdrián Oliva <adrian.oliva@cimat.mx>2023-05-17 10:50:12 -0600
commitf929e5156cb1941beb2f5329e7b9b8fae4c7691b (patch)
treef588c13de3e31d4eecfc1cbbe15d403fd46f42b2 /src/features/counter/counterAPI.js
parent17c1d3d2070ee0c060c3e71a9e5868f004b2b034 (diff)
downloadToDo-App-FE-f929e5156cb1941beb2f5329e7b9b8fae4c7691b.tar.gz
ToDo-App-FE-f929e5156cb1941beb2f5329e7b9b8fae4c7691b.zip
Modified to be minimal.
Diffstat (limited to 'src/features/counter/counterAPI.js')
-rw-r--r--src/features/counter/counterAPI.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/features/counter/counterAPI.js b/src/features/counter/counterAPI.js
deleted file mode 100644
index cc9b4a4..0000000
--- a/src/features/counter/counterAPI.js
+++ /dev/null
@@ -1,6 +0,0 @@
-// A mock function to mimic making an async request for data
-export function fetchCount(amount = 1) {
- return new Promise((resolve) =>
- setTimeout(() => resolve({ data: amount }), 500)
- );
-}