Fixed notification removal from settings. #1594

pull/1595/head
morpheus65535 3 years ago
parent 3d936ffccf
commit 58de876f19

@ -92,8 +92,7 @@ const NotificationModal: FunctionComponent<ModalProps & BaseModalProps> = ({
variant="danger"
onClick={() => {
if (current) {
current.enabled = false;
update(current);
update({ ...current, enabled: false });
}
closeModal();
}}

Loading…
Cancel
Save