/**
 *  Set Home URL based on User Roles
 */
const getHomeRoute = (role: string) => {
  if (role === 'su') return '/master/group'
  if (role === 'group_admin') return '/root/duplicate'
  if (role === 'admin') return '/schedule'
  if (role === 'gerneral_user') return '/acl'
}

export default getHomeRoute
