Skip to content

Commit

Permalink
chore(intg): cast evaluatedValue to string
Browse files Browse the repository at this point in the history
this is compliance to component's prop type
  • Loading branch information
lemredd committed Dec 22, 2022
1 parent 26d4a12 commit 51887d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CalculatorContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function evaluateExpression(valueToAppend: PossibleButtonValues) {
const evaluatedValue = evaluate(`${evaluationValue.value} ${entryValue.value}`)
appendToEvaluationScreen(valueToAppend)
entryValue.value = evaluatedValue
entryValue.value = String(evaluatedValue)
}
</script>

Expand Down

0 comments on commit 51887d5

Please sign in to comment.