File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/client/components/Admin/Usage Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { Navigate } from 'react-router-dom'
4
4
import { useTranslation } from 'react-i18next'
5
5
6
6
import useCurrentUser from '../../../hooks/useCurrentUser'
7
- import CourseTable from './CourseTable'
8
7
import FacultyTable from './FacultyTable'
9
8
import UserTable from './UserTable'
10
9
@@ -24,13 +23,11 @@ const Usage = () => {
24
23
value = { value }
25
24
onChange = { ( _ , newValue ) => setValue ( newValue ) }
26
25
>
27
- < Tab label = { t ( 'admin:courses' ) } />
28
26
< Tab label = { t ( 'admin:faculties' ) } />
29
27
< Tab label = { t ( 'admin:users' ) } />
30
28
</ Tabs >
31
- { value === 0 && < CourseTable /> }
32
- { value === 1 && < FacultyTable /> }
33
- { value === 2 && < UserTable /> }
29
+ { value === 0 && < FacultyTable /> }
30
+ { value === 1 && < UserTable /> }
34
31
</ Box >
35
32
)
36
33
}
You can’t perform that action at this time.
0 commit comments