|
@ -78,10 +78,11 @@ function ConfirmCOVIDPositiveAlertDialog() { |
|
|
.then(res => { |
|
|
.then(res => { |
|
|
if(res.data.covidPositive){ |
|
|
if(res.data.covidPositive){ |
|
|
dispatch(setCovidPositive()); |
|
|
dispatch(setCovidPositive()); |
|
|
|
|
|
toast.closeAll(); |
|
|
toast({ |
|
|
toast({ |
|
|
title: "Confirmed!", |
|
|
title: "Confirmed!", |
|
|
status: 'info', |
|
|
status: 'info', |
|
|
duration: 500, |
|
|
|
|
|
|
|
|
duration: 2000, |
|
|
}); |
|
|
}); |
|
|
}else{ |
|
|
}else{ |
|
|
showErrorToast(); |
|
|
showErrorToast(); |
|
|