From f929e5156cb1941beb2f5329e7b9b8fae4c7691b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Oliva?= Date: Wed, 17 May 2023 10:50:12 -0600 Subject: Modified to be minimal. --- src/features/counter/counterAPI.js | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 src/features/counter/counterAPI.js (limited to 'src/features/counter/counterAPI.js') 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) - ); -} -- cgit v1.2.3