Skip to content

Commit

Permalink
fix braking on click in text editor
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaspiterek committed Jan 29, 2024
1 parent 5be06eb commit 866398e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DefaultBody.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const TestimonialsBody = (props) => {
{!isEditMode ? (
<TextBlockView {...props} />
) : (
<DetachedTextBlockEditor {...props} />
<DetachedTextBlockEditor {...props} block={data['@id']} />
)}
<p className="testimonial">{data?.testimonial}</p>
<div className="person">
Expand Down

0 comments on commit 866398e

Please sign in to comment.