Update package.json and code files
This commit is contained in:
@@ -2,8 +2,13 @@ import { Route, Routes } from "react-router-dom"
|
||||
import { SidepanelChat } from "./sidepanel-chat"
|
||||
import { useDarkMode } from "~hooks/useDarkmode"
|
||||
import { SidepanelSettings } from "./sidepanel-settings"
|
||||
import { OptionIndex } from "./option-index"
|
||||
|
||||
export const Routing = () => <Routes></Routes>
|
||||
export const OptionRouting = () => (
|
||||
<Routes>
|
||||
<Route path="/" element={<OptionIndex />} />
|
||||
</Routes>
|
||||
)
|
||||
|
||||
export const SidepanelRouting = () => {
|
||||
const { mode } = useDarkMode()
|
||||
|
||||
10
src/routes/option-index.tsx
Normal file
10
src/routes/option-index.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { SettingsBody } from "~components/Sidepanel/Settings/body"
|
||||
import { SidepanelSettingsHeader } from "~components/Sidepanel/Settings/header"
|
||||
|
||||
export const OptionIndex = () => {
|
||||
return (
|
||||
<div className="flex bg-white dark:bg-black flex-col min-h-screen mx-auto max-w-7xl">
|
||||
hey
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user