We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2736e2 commit 28d54bdCopy full SHA for 28d54bd
client/utils/responsive.jsx
@@ -10,7 +10,7 @@ export const mobileEnabled = () => (window.process.env.MOBILE_ENABLED === true);
10
* The created function returns a Component (props => jsx)
11
*/
12
export const createMobileFirst = store => (MobileComponent, Fallback) => props => (
13
- <MediaQuery minDeviceWidth={770}>
+ <MediaQuery minWidth={770}>
14
{matches => ((matches || (store && store.getState().editorAccessibility.forceDesktop) || (!mobileEnabled()))
15
? <Fallback {...props} />
16
: <MobileComponent {...props} />)}
0 commit comments