We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aff95a9 + 1ac7bca commit 82465fdCopy full SHA for 82465fd
samples/async-video-survey/src/App.tsx
@@ -276,7 +276,7 @@ function Recorder() {
276
}
277
278
export default function App() {
279
- const [client, initClient] = useDyteClient();
+ const [meeting, initMeeting] = useDyteClient();
280
281
useEffect(() => {
282
provideDyteDesignSystem(document.body, {
@@ -293,7 +293,7 @@ export default function App() {
293
return;
294
295
296
- initClient({
+ initMeeting({
297
authToken,
298
// NOTE: remove defaults
299
// defaults: {
@@ -308,7 +308,7 @@ export default function App() {
308
}, []);
309
310
return (
311
- <DyteProvider value={client} fallback={<LoadingUI />}>
+ <DyteProvider value={meeting} fallback={<LoadingUI />}>
312
<Recorder />
313
</DyteProvider>
314
);
0 commit comments