Skip to content

Commit 361f0d4

Browse files
Emanuele-StazziasioleLabmattilauremattialaurenzana21
authored
Fix: [EBE-85] fix alert (#87)
Co-authored-by: Escarsel <80228890+asioleLab@users.noreply.github.com> Co-authored-by: Mattia Laurenzana <mattia.laurenzana@beije.it> Co-authored-by: mattialaurenzana21 <Mattia.Laurenzana@nttdata.com> Co-authored-by: Emanuele Stazzi <>
1 parent 8943329 commit 361f0d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/pages/initiativeStores/initiativeStoreDetail.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,11 @@ const InitiativeStoreDetail = () => {
237237
component: 'Toast',
238238
showCloseIcon: true,
239239
});
240+
setModalIsOpen(false);
240241
}
242+
setTimeout(() => {
243+
setShowSuccessAlert(false);
244+
}, 4000);
241245
};
242246

243247
const handlePaginationPageChange = (page: number) => {

0 commit comments

Comments
 (0)