Skip to content

Commit

Permalink
update MaybeWrap condition
Browse files Browse the repository at this point in the history
  • Loading branch information
danalvrz committed Jun 4, 2024
1 parent e169698 commit 1eb9fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/volto-separator-block/src/components/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const LegacyWrapper = (props) => (
);

const SeparatorView = ({ data, isEditMode, className, blocksConfig }) => {
const isBlockModelv3 = blocksConfig?.separator?.v3;
const isBlockModelv3 = blocksConfig?.separator?.blockModel === 3;
return (
<MaybeWrap
condition={!isBlockModelv3}
Expand Down

0 comments on commit 1eb9fad

Please sign in to comment.