MetaPhase-Consulting/State-TalentMAP

View on GitHub
src/Containers/Profile/ProfileLoadable.jsx

Summary

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

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

const Profile = createLoader({ path, placeholder: <div style={{ height: '60vh' }} /> });

const ProfileLoadable = ({ ...rest }) => (
  <Profile {...rest} />
);

export default ProfileLoadable;