fix coding contract focus

This commit is contained in:
Olivier Gagnon 2021-11-26 18:59:25 -05:00
parent 03a703c4b0
commit 59d5fa9ef5

@ -40,6 +40,7 @@ export function CodingContractModal(): React.ReactElement {
if (event.keyCode === KEY.ENTER && value !== "") {
event.preventDefault();
props.onAttempt(answer);
close();
}
}