diff options
Diffstat (limited to 'src/routes.tsx')
-rw-r--r-- | src/routes.tsx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/routes.tsx b/src/routes.tsx index 9f81e46d9..436f25ea4 100644 --- a/src/routes.tsx +++ b/src/routes.tsx | |||
@@ -35,6 +35,8 @@ import { WORKSPACES_ROUTES } from './features/workspaces/constants'; | |||
35 | import { StoresProps } from './@types/ferdium-components.types'; | 35 | import { StoresProps } from './@types/ferdium-components.types'; |
36 | import { Actions } from './actions/lib/actions'; | 36 | import { Actions } from './actions/lib/actions'; |
37 | import { RealStores } from './stores'; | 37 | import { RealStores } from './stores'; |
38 | import DownloadManagerScreen from './containers/download-manager/DownloadManagerScreen'; | ||
39 | import DownloadManagerWindow from './containers/download-manager/DownloadManagerWindow'; | ||
38 | 40 | ||
39 | interface IProps { | 41 | interface IProps { |
40 | history: HashHistory; | 42 | history: HashHistory; |
@@ -116,6 +118,15 @@ class FerdiumRoutes extends Component<IProps> { | |||
116 | /> | 118 | /> |
117 | </Route> | 119 | </Route> |
118 | <Route | 120 | <Route |
121 | path="/downloadmanager" | ||
122 | element={<DownloadManagerWindow {...this.props} />} | ||
123 | > | ||
124 | <Route | ||
125 | path="/downloadmanager" | ||
126 | element={<DownloadManagerScreen {...this.props} />} | ||
127 | /> | ||
128 | </Route> | ||
129 | <Route | ||
119 | path="/settings" | 130 | path="/settings" |
120 | element={<SettingsWindow {...this.props} />} | 131 | element={<SettingsWindow {...this.props} />} |
121 | > | 132 | > |