1- import React from " react" ;
2- import AuthNListPage from " ./AuthNListPage" ;
3- import { useTranslation } from " react-i18next" ;
4- import GluuTabs from " Routes/Apps/Gluu/GluuTabs" ;
5- import { Card } from " Components" ;
6- import applicationStyle from " Routes/Apps/Gluu/styles/applicationstyle" ;
1+ import React from ' react'
2+ import AuthNListPage from ' ./AuthNListPage'
3+ import { useTranslation } from ' react-i18next'
4+ import GluuTabs from ' Routes/Apps/Gluu/GluuTabs'
5+ import { Card } from ' Components'
6+ import applicationStyle from ' Routes/Apps/Gluu/styles/applicationstyle'
77
8- import { useSelector } from " react-redux" ;
9- import AgamaListPage from " ../Agama/AgamaListPage" ;
10- import AliasesListPage from " ../Agama/AgamaAliasListPage" ;
8+ import { useSelector } from ' react-redux'
9+ import AgamaListPage from ' ../Agama/AgamaListPage'
10+ import AliasesListPage from ' ../Agama/AgamaAliasListPage'
1111
1212function AuthNPage ( ) {
13- const { t } = useTranslation ( ) ;
14- const isLoading = useSelector ( ( state ) => state . cacheRefreshReducer . loading ) ;
13+ const { t } = useTranslation ( )
1514
1615 const tabNames = [
1716 {
18- name : t ( " menus.builtIn" ) ,
19- path : "" ,
17+ name : t ( ' menus.builtIn' ) ,
18+ path : ''
2019 } ,
21- { name : t ( " menus.acrs" ) , path : "" } ,
20+ { name : t ( ' menus.acrs' ) , path : '' } ,
2221 {
23- name : t ( " menus.aliases" ) ,
24- path : "" ,
22+ name : t ( ' menus.aliases' ) ,
23+ path : ''
2524 } ,
2625 {
27- name : t ( "menus.agama_flows" ) ,
28- path : "" ,
29- } ,
30-
31- ] ;
26+ name : t ( 'menus.agama_flows' ) ,
27+ path : ''
28+ }
29+ ]
3230
33- const tabToShow = ( tabName ) => {
31+ const tabToShow = tabName => {
3432 switch ( tabName ) {
35- case t ( " menus.builtIn" ) :
36- return < AuthNListPage isBuiltIn = { true } /> ;
37- case t ( " menus.acrs" ) :
38- return < AuthNListPage /> ;
39- case t ( " menus.agama_flows" ) :
40- return < AgamaListPage /> ;
41- case t ( " menus.aliases" ) :
42- return < AliasesListPage /> ;
33+ case t ( ' menus.builtIn' ) :
34+ return < AuthNListPage isBuiltIn = { true } />
35+ case t ( ' menus.acrs' ) :
36+ return < AuthNListPage />
37+ case t ( ' menus.agama_flows' ) :
38+ return < AgamaListPage />
39+ case t ( ' menus.aliases' ) :
40+ return < AliasesListPage />
4341 }
44- } ;
42+ }
4543
4644 return (
4745 < Card className = "mb-3" style = { applicationStyle . mainCard } >
@@ -51,7 +49,7 @@ function AuthNPage() {
5149 withNavigation = { true }
5250 />
5351 </ Card >
54- ) ;
52+ )
5553}
5654
57- export default AuthNPage ;
55+ export default AuthNPage
0 commit comments