@@ -2,7 +2,11 @@ import personal from './personal'
import enterprise from './enterprise'
const type = 0
-const items = type ? personal : enterprise
+const routeArray = [
+ personal,
+ enterprise
+]
+const items = routeArray[type]
const remainingRouter = [
{
path: '/',