mirror of
https://github.com/revoltchat/revite.git
synced 2025-01-15 08:51:27 -05:00
19 lines
416 B
TypeScript
19 lines
416 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>
|
|
);
|
|
}
|