twenty/front/src/App.tsx

18 lines
379 B
TypeScript
Raw Normal View History

import React from 'react';
2022-12-02 14:39:15 +03:00
import Tasks from './pages/Tasks';
import History from './pages/History';
import { Routes, Route } from 'react-router-dom';
2022-12-01 17:58:08 +03:00
function App() {
return (
<div className="App">
2022-12-02 14:39:15 +03:00
<Routes>
<Route path="/" element={<Tasks />} />
<Route path="/history" element={<History />} />
</Routes>
2022-12-01 17:58:08 +03:00
</div>
);
}
export default App;