apps/meteor/client/views/home/DefaultHomePage.tsx
Function DefaultHomePage
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const DefaultHomePage = (): ReactElement => {
const t = useTranslation();
const canAddUsers = usePermission('view-user-administration');
const isAdmin = useRole('admin');
const canCreateChannel = useAtLeastOnePermission(CREATE_CHANNEL_PERMISSIONS);