Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1901 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
3719 stevensc 1
import React, { lazy } from 'react';
2
import { useSelector } from 'react-redux';
3
 
4
// const ProfileView = lazy(() => import('../../layouts/profile-edit/ProfileView'))
5
const ProfileEditLayout = lazy(() => import('@app/layouts/profile-edit/ProfileViewLinkedIn'));
6
 
7
const ProfileViewPage = () => {
8
  const { theme_id } = useSelector(({ auth }) => auth);
9
 
10
  switch (theme_id) {
11
    /* case 1:
12
      return <ProfileView />
13
    case 2:
14
      return <ProfileViewLinkedIn /> */
15
 
16
    default:
17
      return <ProfileEditLayout />;
18
  }
19
};
20
 
21
export default ProfileViewPage;