diff --git a/src/hooks/usePopup.ts b/src/hooks/usePopup.ts index 18cc85f..61596fd 100644 --- a/src/hooks/usePopup.ts +++ b/src/hooks/usePopup.ts @@ -55,7 +55,7 @@ export const usePopup = ( } oldPropsRef.current = props; - }, [props, update]); + }); return [open, close]; };