Skip to content

Commit

Permalink
Merge pull request #176 from carbonplan/Shane98c/fix-expander-hydration
Browse files Browse the repository at this point in the history
fix hydration errors (missing transform)
  • Loading branch information
Shane98c authored Jan 16, 2025
2 parents 177d1f3 + 3920a62 commit 8f7e09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expander.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Expander = ({ value, id, onClick, sx }) => {
strokeWidth: 2,
transition: '0.25s all',
transformOrigin: '8px 8px',
transform: value ? 'rotate(45deg)' : '',
transform: value ? 'rotate(45deg)' : 'rotate(0deg)',
}}
/>
</svg>
Expand Down

0 comments on commit 8f7e09e

Please sign in to comment.