From 28d54bdfb59b3eb01da448a971a7d9332c8c4d01 Mon Sep 17 00:00:00 2001 From: ghalestrilo Date: Fri, 21 Aug 2020 17:11:34 -0300 Subject: [PATCH] :recycle: change responsive logic from minDeviceWidth to minWidth --- client/utils/responsive.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/utils/responsive.jsx b/client/utils/responsive.jsx index d611e393..89f20fe8 100644 --- a/client/utils/responsive.jsx +++ b/client/utils/responsive.jsx @@ -10,7 +10,7 @@ export const mobileEnabled = () => (window.process.env.MOBILE_ENABLED === true); * The created function returns a Component (props => jsx) */ export const createMobileFirst = store => (MobileComponent, Fallback) => props => ( - + {matches => ((matches || (store && store.getState().editorAccessibility.forceDesktop) || (!mobileEnabled())) ? : )}