Skip to content

Commit ebab15f

Browse files
authored
fix: correct typo in Alert component prop (#494)
Corrected the typo in the prop name of the Alert component from 'varaint' to 'variant'. This change ensures the proper functioning of the alert in informational variant.
1 parent 9bce0a3 commit ebab15f

File tree

1 file changed

+1
-1
lines changed
  • src/editors/containers/ProblemEditor/components/EditProblemView/SettingsWidget/settingsComponents/Tolerance

1 file changed

+1
-1
lines changed

src/editors/containers/ProblemEditor/components/EditProblemView/SettingsWidget/settingsComponents/Tolerance/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const ToleranceCard = ({
6161
{ isAnswerRange
6262
&& (
6363
<Alert
64-
varaint="info"
64+
variant="info"
6565
>
6666
<FormattedMessage {...messages.toleranceAnswerRangeWarning} />
6767
</Alert>

0 commit comments

Comments
 (0)