fixing problem with media stream and toast not getting proper message
This commit is contained in:
@@ -48,6 +48,7 @@ function NirvanaApp() {
|
|||||||
|
|
||||||
<ReactQueryDevtools initialIsOpen={true} position={"bottom-left"} />
|
<ReactQueryDevtools initialIsOpen={true} position={"bottom-left"} />
|
||||||
</RecoilRoot>
|
</RecoilRoot>
|
||||||
|
|
||||||
<Toaster />
|
<Toaster />
|
||||||
</QueryClientProvider>
|
</QueryClientProvider>
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -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);
|
||||||
});
|
});
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user