| 1 |
import SharedContextProvider from './context/shared-context/shared-context-provider'; |
| 2 |
import ImportContextProvider from './context/import-context/import-context-provider'; |
| 3 |
|
| 4 |
import { LocationProvider, Router } from '@reach/router'; |
| 5 |
import router from '@elementor/router'; |
| 6 |
|
| 7 |
import ImportKit from './pages/import/import-kit/import-kit'; |
| 8 |
import ImportContent from './pages/import/import-content/import-content'; |
| 9 |
import ImportResolver from './pages/import/import-resolver/import-resolver'; |
| 10 |
import ImportPluginsActivation from './pages/import/import-plugins-activation/import-plugins-activation'; |
| 11 |
import ImportProcess from './pages/import/import-process/import-process'; |
| 12 |
import ImportComplete from './pages/import/import-complete/import-complete'; |
| 13 |
import ImportPlugins from './pages/import/import-plugins/import-plugins'; |
| 14 |
|
| 15 |
export default function Import() { |
| 16 |
return ( |
| 17 |
<SharedContextProvider> |
| 18 |
<ImportContextProvider> |
| 19 |
<LocationProvider history={ router.appHistory }> |
| 20 |
<Router> |
| 21 |
<ImportComplete path="complete" /> |
| 22 |
<ImportProcess path="process" /> |
| 23 |
<ImportResolver path="resolver" /> |
| 24 |
<ImportContent path="content" /> |
| 25 |
<ImportPlugins path="plugins" /> |
| 26 |
<ImportPluginsActivation path="plugins-activation" /> |
| 27 |
<ImportKit default /> |
| 28 |
</Router> |
| 29 |
</LocationProvider> |
| 30 |
</ImportContextProvider> |
| 31 |
</SharedContextProvider> |
| 32 |
); |
| 33 |
} |
| 34 |
|