We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35a114a commit 844ef1cCopy full SHA for 844ef1c
1 file changed
packages/main/src/components/ObjectPageTitle/index.tsx
@@ -40,7 +40,7 @@ const ObjectPageTitle = forwardRef<HTMLDivElement, ObjectPageTitlePropTypes>((pr
40
const [componentRef, dynamicPageTitleRef] = useSyncRef<HTMLDivElement>(ref);
41
const [showNavigationInTopArea, setShowNavigationInTopArea] = useState(undefined);
42
const isMounted = useRef(false);
43
- const [isPhone, setIsPhone] = useState(Device.getCurrentRange().name === 'Phone');
+ const [isPhone, setIsPhone] = useState(false);
44
const containerClasses = clsx(classNames.container, isPhone && classNames.phone, className);
45
const toolbarContainerRef = useRef<HTMLDivElement>(null);
46
const _header = !props?.['data-header-content-visible'] && snappedHeader ? snappedHeader : header;
0 commit comments