diff --git a/src/App.tsx b/src/App.tsx index a399287bd..38fdc3b5b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,156 +1,83 @@ /* eslint-disable jsx-a11y/control-has-associated-label */ -import React from 'react'; +import React, { useContext, useEffect } from 'react'; +import { Todo } from './types/Todo'; +import { Footer } from './components/Footer'; +import { Header } from './components/Header'; +import { TodoList } from './components/TodoList'; +import { StateContext, DispatchContext } from './components/TodoProvider'; export const App: React.FC = () => { - return ( -