Skip to content

Commit d8e6fb4

Browse files
committed
Remove course usage table
1 parent 4daea56 commit d8e6fb4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/client/components/Admin/Usage/index.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { Navigate } from 'react-router-dom'
44
import { useTranslation } from 'react-i18next'
55

66
import useCurrentUser from '../../../hooks/useCurrentUser'
7-
import CourseTable from './CourseTable'
87
import FacultyTable from './FacultyTable'
98
import UserTable from './UserTable'
109

@@ -24,13 +23,11 @@ const Usage = () => {
2423
value={value}
2524
onChange={(_, newValue) => setValue(newValue)}
2625
>
27-
<Tab label={t('admin:courses')} />
2826
<Tab label={t('admin:faculties')} />
2927
<Tab label={t('admin:users')} />
3028
</Tabs>
31-
{value === 0 && <CourseTable />}
32-
{value === 1 && <FacultyTable />}
33-
{value === 2 && <UserTable />}
29+
{value === 0 && <FacultyTable />}
30+
{value === 1 && <UserTable />}
3431
</Box>
3532
)
3633
}

0 commit comments

Comments
 (0)