Skip to content

Commit 5fce4f3

Browse files
committed
modif: blocker dialogs have been moved into the lesson page.
1 parent 14de680 commit 5fce4f3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/web/src/pages/Lesson.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import { useUser } from "@litespace/headless/context/user";
99
import cn from "classnames";
1010
import { useSocket } from "@litespace/headless/socket";
1111
import { MediaCallProvider } from "@/hooks/mediaCall";
12+
import { UnsupportedBrowserDialog } from "@/components/Common/UnsupportedBrowserDialog";
13+
import { WebrtcCheckDialog } from "@/components/Common/WebrtcCheckDialog";
1214

1315
type Params = Replace<UrlParamsOf<Web.Lesson>, "id", string>;
1416

@@ -56,6 +58,8 @@ const Lesson: React.FC = () => {
5658
>
5759
<Content lessonId={lessonId} self={user} />
5860
</div>
61+
<UnsupportedBrowserDialog />
62+
<WebrtcCheckDialog />
5963
</MediaCallProvider>
6064
);
6165
};

apps/web/src/pages/Root.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import { InvalidTimeDialog } from "@/components/Common/InvalidTimeDialog";
2-
import { UnsupportedBrowserDialog } from "@/components/Common/UnsupportedBrowserDialog";
3-
import { WebrtcCheckDialog } from "@/components/Common/WebrtcCheckDialog";
42
import FloatingButtons from "@/components/Layout/FloatingButtons";
53
import Navbar from "@/components/Layout/Navbar";
64
import Sidebar from "@/components/Layout/Sidebar";
@@ -209,8 +207,6 @@ const Root: React.FC = () => {
209207
)}
210208
>
211209
<InvalidTimeDialog />
212-
<UnsupportedBrowserDialog />
213-
<WebrtcCheckDialog />
214210

215211
<ConfirmationDialog
216212
open={tourDialogOpen && stepNumber !== studentTour.tour.steps.length}

0 commit comments

Comments
 (0)