Skip to content

Commit

Permalink
[docs] Fix useMediaQuery ssr implementation example
Browse files Browse the repository at this point in the history
  • Loading branch information
carloscuesta authored Nov 12, 2019
1 parent 4bfc2e4 commit 0a4d4a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function handleRender(req, res) {
const ssrMatchMedia = query => ({
matches: mediaQuery.match(query, {
// The estimated CSS width of the browser.
width: deviceType === 'mobile' ? 0 : 1024,
width: deviceType === 'mobile' ? '0px' : '1024px',
}),
});

Expand Down

0 comments on commit 0a4d4a6

Please sign in to comment.