Update SidepanelChat imports and add SidepanelSettingsHeader route

This commit is contained in:
n4ze3m
2024-02-02 00:13:10 +05:30
parent ca84cc3b64
commit 23e488770d
9 changed files with 37 additions and 30 deletions

View File

@@ -1,5 +1,6 @@
import { Route, Routes } from "react-router-dom"
import { SidepanelChat } from "./sidepanel-chat"
import { SidepanelSettingsHeader } from "~components/Sidepanel/Settings/header"
export const Routing = () => <Routes></Routes>
@@ -7,6 +8,7 @@ export const SidepanelRouting = () => (
<div className="dark">
<Routes>
<Route path="/" element={<SidepanelChat />} />
<Route path="/settings" element={<SidepanelSettingsHeader />} />
</Routes>
</div>
)