diff --git a/src/components/stateless/AnimateRipple/index.jsx b/src/components/stateless/AnimateRipple/index.jsx index f9b887ca..1cf5bd85 100644 --- a/src/components/stateless/AnimateRipple/index.jsx +++ b/src/components/stateless/AnimateRipple/index.jsx @@ -10,7 +10,7 @@ const useRippling = () => { const { left, top } = e.currentTarget.getBoundingClientRect() setCoordinates({ x: e.clientX - left, - y: e.clientY - top, + y: e.clientY - top }) setTimeout(() => { @@ -22,7 +22,7 @@ const useRippling = () => { x, y, handleRippleOnClick, - isRippling, + isRippling } } @@ -35,7 +35,7 @@ const AnimateRipple = ({ children, onClick, ...rest }) => { } return ( - -