Skip to content

Commit

Permalink
fix: text with bedge re-render fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ffeliperocha committed Jun 14, 2024
1 parent 24bc7ed commit afb1995
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ const TextWithBadge = ({
layout: { width },
},
}) => {
setTextSize(width);
if (textSize === 0) {
setTextSize(width);
}
},
[],
[textSize],
);

return (
Expand Down

0 comments on commit afb1995

Please sign in to comment.