From 51887d5a6ffc7e89a85a43900b23d2aed55b0505 Mon Sep 17 00:00:00 2001 From: "Jarlem Red J. de Peralta" Date: Thu, 22 Dec 2022 15:50:03 +0800 Subject: [PATCH] chore(intg): cast `evaluatedValue` to string this is compliance to component's prop type --- src/components/CalculatorContainer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CalculatorContainer.vue b/src/components/CalculatorContainer.vue index e86f5ea..c6844c6 100644 --- a/src/components/CalculatorContainer.vue +++ b/src/components/CalculatorContainer.vue @@ -36,7 +36,7 @@ function evaluateExpression(valueToAppend: PossibleButtonValues) { const evaluatedValue = evaluate(`${evaluationValue.value} ${entryValue.value}`) appendToEvaluationScreen(valueToAppend) - entryValue.value = evaluatedValue + entryValue.value = String(evaluatedValue) }