fixing problem with media stream and toast not getting proper message

This commit is contained in:
talksik
2022-05-05 16:30:16 -05:00
parent 1a6f4bd428
commit f0ff5498e1
2 changed files with 3 additions and 2 deletions
@@ -48,6 +48,7 @@ function NirvanaApp() {
<ReactQueryDevtools initialIsOpen={true} position={"bottom-left"} /> <ReactQueryDevtools initialIsOpen={true} position={"bottom-left"} />
</RecoilRoot> </RecoilRoot>
<Toaster /> <Toaster />
</QueryClientProvider> </QueryClientProvider>
</> </>
+2 -2
View File
@@ -186,9 +186,9 @@ export default function Overlay() {
} }
}); });
}) })
.catch((err) => { .catch((err: Error) => {
console.error(err); console.error(err);
toast.error(err); toast.error(err.message);
}); });
}, []); }, []);