File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/agents-manager/src/components/zoom-action-button Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,19 +8,19 @@ import { unlock } from '../../utils/unlock-private-apis';
88import './style.scss' ;
99
1010export default function ZoomActionButton ( ) {
11- const isZoomed = useSelect ( ( select ) => unlock ( select ( blockEditorStore ) ) . isZoomOut ( ) , [ ] ) ;
11+ const isZoomOut = useSelect ( ( select ) => unlock ( select ( blockEditorStore ) ) . isZoomOut ( ) , [ ] ) ;
1212
1313 return (
1414 < Button
1515 className = "agents-manager-zoom-action-button"
1616 icon = { zoomIcon }
1717 label = {
18- isZoomed
18+ isZoomOut
1919 ? __ ( 'Zoom in' , '__i18n_text_domain__' )
2020 : __ ( 'Zoom out' , '__i18n_text_domain__' )
2121 }
2222 onClick = { toggleZoom }
23- isPressed = { isZoomed }
23+ isPressed = { isZoomOut }
2424 size = "compact"
2525 />
2626 ) ;
You can’t perform that action at this time.
0 commit comments