diff --git a/equations/src/App.js b/equations/src/App.js index c4bc1ae..987358b 100644 --- a/equations/src/App.js +++ b/equations/src/App.js @@ -15,7 +15,13 @@ function EquationGroup(p) { return <> ( - {arr.map((eq,i)=>Array.isArray(eq)?:eq==="×"||eq==="-"||eq==="+"||eq==="÷"?:)} +
+ + + +
+ {arr.map((eq,i)=>Array.isArray(eq)?:eq==="×"||eq==="-"||eq==="+"||eq==="÷"?:)} +
) } @@ -31,9 +37,9 @@ function EquationOperator(p) { setEquation(eqArr) },[op]) - return <> - {operator} - + return } function EquationValue(p) { @@ -48,7 +54,9 @@ function EquationValue(p) { },[item]) return
- {val} +
{data[val]}