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" variant="danger"
onClick={() => { onClick={() => {
if (current) { if (current) {
current.enabled = false; update({ ...current, enabled: false });
update(current);
} }
closeModal(); closeModal();
}} }}

Loading…
Cancel
Save