mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-22 05:15:13 +00:00
git-subtree-dir: packages/browseros-agent git-subtree-mainline:8f148d0918git-subtree-split:90bd4be300
19 lines
505 B
TypeScript
19 lines
505 B
TypeScript
import type { FC } from 'react'
|
|
import { HashRouter, Route, Routes } from 'react-router'
|
|
import { ChatHistory } from './history/ChatHistory'
|
|
import { Chat } from './index/Chat'
|
|
import { ChatLayout } from './layout/ChatLayout'
|
|
|
|
export const App: FC = () => {
|
|
return (
|
|
<HashRouter>
|
|
<Routes>
|
|
<Route element={<ChatLayout />}>
|
|
<Route index element={<Chat />} />
|
|
<Route path="history" element={<ChatHistory />} />
|
|
</Route>
|
|
</Routes>
|
|
</HashRouter>
|
|
)
|
|
}
|