Updated UserInfoPopover to not show on mobile

• Updated:
- UserInfoPopover to not show on mobile
This commit is contained in:
mgabdev 2020-05-15 23:49:36 -04:00
parent f1c5ed1284
commit 69de9eab75

View File

@ -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}