Skip to content

Commit 4ffeac4

Browse files
authored
[Popper] Remove duplicate handleOpen call from effect (#21106)
1 parent 72c6b37 commit 4ffeac4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/material-ui/src/Popper/Popper.js

-5
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,6 @@ const Popper = React.forwardRef(function Popper(props, ref) {
171171
handleClose();
172172
};
173173

174-
React.useEffect(() => {
175-
// Let's update the popper position.
176-
handleOpen();
177-
}, [handleOpen]);
178-
179174
React.useEffect(() => {
180175
return () => {
181176
handleClose();

0 commit comments

Comments
 (0)