Skip to content

Commit

Permalink
Adds inline comment for the extra div
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Dwyer <[email protected]>
  • Loading branch information
amitraj2203 and scruffian authored Jun 20, 2024
1 parent 662dbe8 commit 0dcbf97
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export default function ColorVariations( { title, gap = 2 } ) {
<Grid spacing={ gap }>
{ colorVariations.map( ( variation, index ) => (
<Tooltip key={ index } text={ variation?.title }>
{ /* This div is needed for Tooltips to work */ }
<div>
<Variation
variation={ variation }
Expand Down

0 comments on commit 0dcbf97

Please sign in to comment.