diff --git a/src/App.tsx b/src/App.tsx index e203507..d178d8d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,7 +2,7 @@ import React from 'react'; import logo from './logo.svg'; import './App.css'; import { observer } from 'mobx-react-lite'; -import { TodoList } from './state'; +import { TodoList, Todo } from './state'; const App = observer(({ todos }: { todos: TodoList }) => { return ( @@ -21,18 +21,24 @@ const App = observer(({ todos }: { todos: TodoList }) => { Learn React {todos.todos.map((todo, index) => ( -