MetaPhase-Consulting/State-TalentMAP

View on GitHub
src/Components/BureauPage/BureauPageLoadable.jsx

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import createLoader from '../Loadable';

export const path = () => import('./BureauPage');

const BureauPage = createLoader({ path, shouldPreload: false });

const BureauPageLoadable = ({ ...rest }) => (
  <BureauPage {...rest} />
);

export default BureauPageLoadable;