Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1901 | Ir a la última revisión | | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
5 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 ProfileViewLinkedIn = lazy(() =>
6
  import('../../layouts/profile-edit/ProfileViewLinkedIn')
7
)
8
 
9
const ProfileViewPage = () => {
10
  const { theme_id } = useSelector(({ auth }) => auth)
11
 
12
  switch (theme_id) {
13
    /* case 1:
14
      return <ProfileView />
15
    case 2:
16
      return <ProfileViewLinkedIn /> */
17
    default:
18
      return <ProfileViewLinkedIn />
19
  }
20
}
21
 
22
export default ProfileViewPage