mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
20 lines
530 B
TypeScript
20 lines
530 B
TypeScript
import { Route, Switch } from "react-router";
|
|
|
|
import SidebarBase from "./SidebarBase";
|
|
import MemberSidebar from "./right/MemberSidebar";
|
|
|
|
export default function RightSidebar() {
|
|
return (
|
|
<SidebarBase>
|
|
<Switch>
|
|
<Route path="/server/:server/channel/:channel">
|
|
<MemberSidebar />
|
|
</Route>
|
|
<Route path="/channel/:channel">
|
|
<MemberSidebar />
|
|
</Route>
|
|
</Switch>
|
|
</SidebarBase>
|
|
);
|
|
}
|