🔥 refactor(genericModal/index.tsx): remove unused code that sets the value of inputValue in case 1 of myModalType

This commit is contained in:
Lucas Oliveira 2023-07-06 15:51:25 -03:00
commit 4e9204d884

View file

@ -284,7 +284,6 @@ export default function GenericModal({
onClick={() => { onClick={() => {
switch (myModalType) { switch (myModalType) {
case 1: case 1:
setValue(inputValue);
setModalOpen(false); setModalOpen(false);
break; break;
case 2: case 2: