mirror of
https://github.com/zoriya/flood.git
synced 2026-06-02 11:06:35 +00:00
client: rename TorrentClientOverview to Overview to match route name
This commit is contained in:
@@ -18,8 +18,8 @@ import history from './util/history';
|
||||
import '../sass/style.scss';
|
||||
|
||||
const Login = lazy(() => import(/* webpackPrefetch: true */ './routes/Login'));
|
||||
const Overview = lazy(() => import(/* webpackPreload: true */ './routes/Overview'));
|
||||
const Register = lazy(() => import(/* webpackPrefetch: true */ './routes/Register'));
|
||||
const TorrentClientOverview = lazy(() => import(/* webpackPreload: true */ './routes/TorrentClientOverview'));
|
||||
|
||||
const FloodApp: FC = observer(() => {
|
||||
useEffect(() => {
|
||||
@@ -82,8 +82,8 @@ const FloodApp: FC = observer(() => {
|
||||
<AppWrapper className={ConfigStore.preferDark ? 'dark' : undefined}>
|
||||
<Switch>
|
||||
<Route path="/login" component={Login} />
|
||||
<Route path="/overview" component={Overview} />
|
||||
<Route path="/register" component={Register} />
|
||||
<Route path="/overview" component={TorrentClientOverview} />
|
||||
</Switch>
|
||||
</AppWrapper>
|
||||
</QueryParamProvider>
|
||||
|
||||
+2
-2
@@ -13,7 +13,7 @@ import 'overlayscrollbars/css/OverlayScrollbars.css';
|
||||
const Alerts = lazy(() => import('@client/components/alerts/Alerts'));
|
||||
const Modals = lazy(() => import('@client/components/modals/Modals'));
|
||||
|
||||
const TorrentClientOverview: FC = () => {
|
||||
const Overview: FC = () => {
|
||||
useEffect(() => {
|
||||
FloodActions.startActivityStream();
|
||||
}, []);
|
||||
@@ -33,4 +33,4 @@ const TorrentClientOverview: FC = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default TorrentClientOverview;
|
||||
export default Overview;
|
||||
Reference in New Issue
Block a user