Skip to content

Commit

Permalink
Merge pull request #76 from moveyourdigital/fix/version-includes
Browse files Browse the repository at this point in the history
fix: data version includes
  • Loading branch information
danilolan authored Mar 15, 2023
2 parents 6c36629 + ec3bf2b commit 969540e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const Blocks = ({
...renderers,
};

const hasBlockId = data.version.includes('2.21');
const hasBlockId = data.version?.includes('2.21');

return (
<>
Expand Down

0 comments on commit 969540e

Please sign in to comment.