twenty/front/src/App.tsx

21 lines
528 B
TypeScript
Raw Normal View History

import React from 'react';
import Inbox from './pages/inbox/Inbox';
import Contacts from './pages/Contacts';
import Insights from './pages/Insights';
import AppLayout from './layout/AppLayout';
2022-12-02 14:39:15 +03:00
import { Routes, Route } from 'react-router-dom';
2022-12-01 17:58:08 +03:00
function App() {
return (
<AppLayout>
2022-12-02 14:39:15 +03:00
<Routes>
<Route path="/" element={<Inbox />} />
<Route path="/contacts" element={<Contacts />} />
<Route path="/insights" element={<Insights />} />
2022-12-02 14:39:15 +03:00
</Routes>
</AppLayout>
2022-12-01 17:58:08 +03:00
);
}
export default App;