Fixed notification removal from settings. #1594

This commit is contained in:
morpheus65535 2021-10-28 06:50:50 -04:00
parent 3d936ffccf
commit 58de876f19
1 changed files with 1 additions and 2 deletions

View File

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