Sha256: 2bfe3122d0df0bb300a84e7b3dcb1ead123d7b07a3dc43e61b259401bfa9c5ac
Contents?: true
Size: 827 Bytes
Versions: 25
Compression:
Stored size: 827 Bytes
Contents
import React from 'react'; import { Route, Switch, Redirect } from 'react-router-dom'; import { PackagesTab } from '../PackagesTab/PackagesTab.js'; import { ErrataTab } from '../ErrataTab/ErrataTab.js'; import { ModuleStreamsTab } from '../ModuleStreamsTab/ModuleStreamsTab'; import RepositorySetsTab from '../RepositorySetsTab/RepositorySetsTab'; import { route } from './helpers'; const SecondaryTabRoutes = () => ( <Switch> <Route path={route('packages')}> <PackagesTab /> </Route> <Route path={route('errata')}> <ErrataTab /> </Route> <Route path={route('module-streams')}> <ModuleStreamsTab /> </Route> <Route path={route('Repository sets')}> <RepositorySetsTab /> </Route> <Redirect to={route('errata')} /> </Switch> ); export default SecondaryTabRoutes;
Version data entries
25 entries across 25 versions & 1 rubygems