Skip to content

Commit

Permalink
Updated volto-resize
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed Jun 8, 2021
1 parent 0d90ac4 commit 2723c26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@eeacms/volto-resize-helper"
],
"dependencies": {
"@eeacms/volto-resize-helper": "^0.1.1",
"@eeacms/volto-resize-helper": "^0.2.0",
"tableau-api-js": "github:eea/tableau-api-js#1.1.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/TableauBlock/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const View = (props) => {
props.data.version ||
config.settings.tableauVersion ||
getLatestTableauVersion();
const device = getDevice(config, screen.screenWidth || Infinity);
const device = getDevice(config, screen.width || Infinity);
const breakpointUrl = breakpointUrls.filter(
(breakpoint) => breakpoint.device === device,
)[0]?.url;
Expand Down

0 comments on commit 2723c26

Please sign in to comment.