mirror of https://github.com/msgbyte/tailchat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
739 B
TypeScript
24 lines
739 B
TypeScript
import { IsDeveloping } from '@/components/IsDeveloping';
|
|
import React from 'react';
|
|
import { Redirect, Route, Switch } from 'react-router-dom';
|
|
import { PageContent } from '../PageContent';
|
|
import { FriendPanel } from './Friends';
|
|
import { Sidebar } from './Sidebar';
|
|
|
|
export const Personal: React.FC = React.memo(() => {
|
|
return (
|
|
<PageContent sidebar={<Sidebar />}>
|
|
<Switch>
|
|
<Route path="/main/personal/friends" component={FriendPanel} />
|
|
|
|
<Route path="/main/personal/plugins" component={IsDeveloping} />
|
|
|
|
<Route path="/main/personal/converse" component={IsDeveloping} />
|
|
|
|
<Redirect to="/main/personal/friends" />
|
|
</Switch>
|
|
</PageContent>
|
|
);
|
|
});
|
|
Personal.displayName = 'Personal';
|