diff --git a/app/ui-sidenav/client/SortList.js b/app/ui-sidenav/client/SortList.js index 71ca52af71ed..53edf136e2f0 100644 --- a/app/ui-sidenav/client/SortList.js +++ b/app/ui-sidenav/client/SortList.js @@ -5,6 +5,7 @@ import { Icon, ToggleSwitch, RadioButton, Box, Flex, Margins } from '@rocket.cha import { useTranslation } from '../../../client/contexts/TranslationContext'; import { useUserPreference } from '../../../client/contexts/UserContext'; import { useMethod } from '../../../client/contexts/ServerContext'; +import { isMobile } from '../../utils'; function SortListItem({ text, icon, input }) { return @@ -34,7 +35,7 @@ export function SortList() { return <>
- + {isMobile() ? null : }
;