diff --git a/src/screens/ScannerScreen.js b/src/screens/ScannerScreen.js index 105e92d..eb2a9d1 100644 --- a/src/screens/ScannerScreen.js +++ b/src/screens/ScannerScreen.js @@ -55,7 +55,12 @@ function Scanner() { duration: 2000, }); } else { - console.log('Time to logout!'); + toast({ + title: "You're not logged in!", + description: "Please log in and try again!", + status: 'error', + duration: 2000, + }); dispatch(authLogout()); history.push('/login'); }