lumina/ui/views/asset-lists/asset-list-router.js
2025-11-29 23:13:05 +03:00

14 lines
484 B
JavaScript

import React from 'react'
import {Route, Redirect, Switch} from 'react-router'
import NotFoundView from '../pages/not-found-page-view'
import AssetListCatalogueView from './asset-list-catalogue-view'
export default function AssetListsRouter({match}) {
const {path} = match
return <div className="container">
<Switch>
<Route path={`${path}/`} component={AssetListCatalogueView}/>
<Route component={NotFoundView}/>
</Switch>
</div>
}