Skip to content

Commit

Permalink
Remove renaming on slider presets
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlende committed Jun 4, 2024
1 parent 2b0c3e3 commit 099aaf7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ export default function useSpacingSizes() {
},
...sizes,
]
: // See https://github.com/WordPress/gutenberg/pull/44247 for reasoning
// to use the index as the name in the range control.
sizes.map( ( { slug, size }, i ) => ( { name: i, slug, size } ) );
: sizes;
}, [ customSizes, themeSizes, defaultSizes ] );
}

0 comments on commit 099aaf7

Please sign in to comment.