fix(StoreApiKeyModal): close modal after successfully saving API Key to improve user experience

This commit is contained in:
cristhianzl 2023-10-19 14:43:40 -03:00
commit 7a96951fd1

View file

@ -49,6 +49,7 @@ export default function StoreApiKeyModal({
setSuccessData({ setSuccessData({
title: "Success! Your API Key has been saved.", title: "Success! Your API Key has been saved.",
}); });
setOpen(false);
}, },
(error) => { (error) => {
setErrorData({ setErrorData({