diff --git a/ui/blocks/src/PropsTable/controlsActions.ts b/ui/blocks/src/PropsTable/controlsActions.ts index f0e534fa5..406ed44d4 100644 --- a/ui/blocks/src/PropsTable/controlsActions.ts +++ b/ui/blocks/src/PropsTable/controlsActions.ts @@ -65,15 +65,6 @@ export const useControlsActions = (props: UseControlsActionsProps) => { 'aria-label': 'copy control values', }, ]; - if (canReset) { - actions.push({ - node: 'reset', - onClick: onReset, - group: 'controls', - id: 'reset', - 'aria-label': 'reset control values to their initial value', - }); - } if (canRandomize) { actions.push({ node: 'randomize', @@ -87,5 +78,14 @@ export const useControlsActions = (props: UseControlsActionsProps) => { 'aria-label': 'generate random values for the component controls', }); } + if (canReset) { + actions.push({ + node: 'reset', + onClick: onReset, + group: 'controls', + id: 'reset', + 'aria-label': 'reset control values to their initial value', + }); + } return actions; };