diff --git a/cake-game/src/components/classifier-table-row/ClassifierTableRow.jsx b/cake-game/src/components/classifier-table-row/ClassifierTableRow.jsx index ba3dfba..cd29c5b 100644 --- a/cake-game/src/components/classifier-table-row/ClassifierTableRow.jsx +++ b/cake-game/src/components/classifier-table-row/ClassifierTableRow.jsx @@ -18,12 +18,21 @@ function ClassifierTableRow(props) { return classifier; } + function getMatchIndicator() { + if (props.result.expected_category === props.result.user_category) { + return '✅'; + } + + return '❌'; + } + return ( <>