Skip to content

Commit

Permalink
remove error after validation
Browse files Browse the repository at this point in the history
  • Loading branch information
VmMad committed Nov 28, 2023
1 parent d77fc1c commit f1a56cf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export function ManaCalculatorInput({
useEffect(() => {
try {
verifyMinAndMax(value);
setErrorMessage('');
} catch (error) {
setErrorMessage(error.message);
}
Expand Down

0 comments on commit f1a56cf

Please sign in to comment.