From cbcf35914ce86d6982e5e75b2888b0c6d2727aa4 Mon Sep 17 00:00:00 2001 From: Diego Andai Date: Fri, 16 Feb 2024 09:08:12 -0300 Subject: [PATCH] Fix incorrectly forwarded ownerState --- packages/mui-material/src/IconButton/IconButton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mui-material/src/IconButton/IconButton.js b/packages/mui-material/src/IconButton/IconButton.js index 0c6a5351555cc2..902008d145f9ba 100644 --- a/packages/mui-material/src/IconButton/IconButton.js +++ b/packages/mui-material/src/IconButton/IconButton.js @@ -144,8 +144,8 @@ const IconButton = React.forwardRef(function IconButton(inProps, ref) { focusRipple={!disableFocusRipple} disabled={disabled} ref={ref} - ownerState={ownerState} {...other} + ownerState={ownerState} > {children}