Remove extra device request on the video preview page

As per comment, livekit mutates the object that's passed in, so
we ended up re-requesting the devices in the next render because we
effectively passed in different options.
This commit is contained in:
David Baker
2023-09-05 17:34:55 +01:00
parent 3331a23373
commit 973d396249
2 changed files with 9 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ Initializer.initBeforeReact();
const history = createBrowserHistory();
root.render(
<StrictMode>
<App history={history} />
</StrictMode>
//<StrictMode>
<App history={history} />
//</StrictMode>
);