mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-18 21:35:27 -04:00
22 lines
546 B
TypeScript
22 lines
546 B
TypeScript
import React from 'react';
|
|
import { Route } from 'react-router-dom';
|
|
import Switch from 'Components/Router/Switch';
|
|
import ImportSeries from './Import/ImportSeries';
|
|
import ImportSeriesSelectFolder from './SelectFolder/ImportSeriesSelectFolder';
|
|
|
|
function ImportSeriesPage() {
|
|
return (
|
|
<Switch>
|
|
<Route
|
|
exact={true}
|
|
path="/add/import"
|
|
component={ImportSeriesSelectFolder}
|
|
/>
|
|
|
|
<Route path="/add/import/:rootFolderId" component={ImportSeries} />
|
|
</Switch>
|
|
);
|
|
}
|
|
|
|
export default ImportSeriesPage;
|