+
todos
+
+
+
+
+ {todos.length !== 0 && }
+
-
Styles are already copied
-
+
+
);
};
diff --git a/src/api/todos.ts b/src/api/todos.ts
new file mode 100644
index 0000000000..5c2a8d5219
--- /dev/null
+++ b/src/api/todos.ts
@@ -0,0 +1,34 @@
+import { Filter } from '../types/Filter';
+import { Todo } from '../types/Todo';
+import { client } from '../utils/fetchClient';
+
+export const USER_ID = 2165;
+
+export const getTodos = () => {
+ return client.get