some cleanup

This commit is contained in:
talksik
2022-05-13 08:28:42 -05:00
parent a68d53b779
commit 2696a67513
@@ -18,6 +18,7 @@ export function SocketProvider({ children }: { children: React.ReactNode }) {
useEffect(() => {
if (!jwtToken) {
set$ws(undefined);
toast.error('no jwt token!!!');
return;
@@ -39,8 +40,6 @@ export function SocketProvider({ children }: { children: React.ReactNode }) {
console.error(
'SOCKET | there was a problem with your app...connection closed likely due to idling or manual disconnect',
);
toast.error('sorry...this is our bad...please refresh with cmd + r');
});
// client-side errors