+
todos
+
+
+
+
+ {(!!todoList.length || tempTodo) && (
+ <>
+
+
+
+
+
+
);
};
diff --git a/src/api/todos.ts b/src/api/todos.ts
new file mode 100644
index 0000000000..32a48928db
--- /dev/null
+++ b/src/api/todos.ts
@@ -0,0 +1,20 @@
+import { Todo } from '../types/Todo';
+import { client } from '../utils/fetchClient';
+
+export const USER_ID = 2138;
+
+export const getTodos = () => {
+ return client.get