+
todos
+
+
+
+ {(todos.length > 0 || tempTodo) && (
+ <>
+
+
+ >
+ )}
+
+
+
);
};
diff --git a/src/api/todos.ts b/src/api/todos.ts
new file mode 100644
index 0000000000..a28d320dd8
--- /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 = 2162;
+
+export const getTodos = () => {
+ return client.get