Updated UserInfoPopover to not show on mobile
• Updated: - UserInfoPopover to not show on mobile
This commit is contained in:
parent
f1c5ed1284
commit
69de9eab75
@ -112,6 +112,10 @@ class PopoverRoot extends PureComponent {
|
||||
const isXS = width <= BREAKPOINT_EXTRA_SMALL
|
||||
const Wrapper = isXS ? ModalBase : PopoverBase
|
||||
|
||||
//If is XS and popover is user info, dont show
|
||||
//Since on mobile this should not be visible
|
||||
if (isXS && type === POPOVER_USER_INFO) return null
|
||||
|
||||
return (
|
||||
<Wrapper
|
||||
onClose={onClose}
|
||||
|
Loading…
x
Reference in New Issue
Block a user