MetaPhase-Consulting/State-TalentMAP

View on GitHub
src/Components/PostPage/PostPageLoadable.jsx

Summary

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

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

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

const PostPageLoadable = ({ ...rest }) => (
  <PostPage {...rest} />
);

export default PostPageLoadable;