aboutsummaryrefslogtreecommitdiff
path: root/src/features/counter/counterAPI.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)
- );
-}