Skip to content

Commit

Permalink
See pewresearch/pewresearch-org@d4e5c44 from refs/heads/release/5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
prcdevgitbot committed Mar 20, 2024
1 parent 83cbb53 commit 6dc73bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blocks/logo/src/edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ function LogoInner({ onLoad, className, width }) {
const svgLoad = (svg) => {
const svgEl = svg();

const [width, height] = svgEl.props.viewBox.split(' ').slice(2);
const [w, h] = svgEl.props.viewBox.split(' ').slice(2);

console.log('svgEl', svgEl, svgEl.props.viewBox, width, height);
console.log('svgEl', svgEl, svgEl.props.viewBox, w, h);

onLoad(width, height);
onLoad(w, h);
};

switch (selectedStyle[1]) {
Expand Down

0 comments on commit 6dc73bb

Please sign in to comment.