Fix token and map setting update reset on modal closure
This commit is contained in:
@@ -12,6 +12,7 @@ function EditTokenModal({ isOpen, onDone, token }) {
|
||||
const { updateToken } = useContext(TokenDataContext);
|
||||
|
||||
function handleClose() {
|
||||
setTokenSettingChanges({});
|
||||
onDone();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user