From 9d4c7733f8e05bc7d4ace0194ea8c68dee344c9a Mon Sep 17 00:00:00 2001 From: Andrey Gnusarev Date: Tue, 19 Aug 2025 22:30:57 -0400 Subject: [PATCH] Diagnose Failed Tests --- src/App.jsx | 2 +- src/Calculator.jsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index cad7cfd..4d2a576 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -9,7 +9,7 @@ function App() { return (
-

MultiCalc

+

Multi-Calc

diff --git a/src/Calculator.jsx b/src/Calculator.jsx index 86a5dc8..03fbdcb 100644 --- a/src/Calculator.jsx +++ b/src/Calculator.jsx @@ -10,11 +10,11 @@ function Calculator() { }, [operand]); const cubed = useMemo(() => { - return operand ** 2; + return operand ** 3; }, [operand]); const multiplyByThree = useMemo(() => { - operand * 3; + return operand * 3; }, [operand]); const squareRoot = useMemo(() => {