🐛 fix(genericModal/index.tsx): change validatePrompt function call to setIsEdit to fix incorrect behavior when blurring input field

This commit is contained in:
Lucas Oliveira 2023-07-06 15:27:36 -03:00
commit 798be36cd8

View file

@ -252,7 +252,7 @@ export default function GenericModal({
value={inputValue} value={inputValue}
onBlur={() => { onBlur={() => {
blur(); blur();
validatePrompt(true); setIsEdit(false);
}} }}
autoFocus autoFocus
onChange={(e) => { onChange={(e) => {