diff --git a/src/Pythagoras.js b/src/Pythagoras.js index f208700..2460086 100644 --- a/src/Pythagoras.js +++ b/src/Pythagoras.js @@ -34,7 +34,7 @@ const memoizedCalc = (function () { }; })(); -const Pythagoras = React.memo(({ +const Pythagoras = ({ w, x, y, @@ -106,6 +106,6 @@ const Pythagoras = React.memo(({ /> ); -}); +}; export default Pythagoras;