Browse Source

toast fix

pull/8/head
Nareshkumar Rao 3 years ago
parent
commit
c37a2036a4
  1. 3
      src/screens/HomeScreen.js

3
src/screens/HomeScreen.js

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

Loading…
Cancel
Save