From 8b50ac150b80ba534ce8d33052060d482839de00 Mon Sep 17 00:00:00 2001 From: Gigiaj Date: Thu, 8 May 2025 18:00:16 -0500 Subject: [PATCH] funnel through just iframe for now for testing sake --- src/app/components/page/Page.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/components/page/Page.tsx b/src/app/components/page/Page.tsx index 55ccecee..46abf313 100644 --- a/src/app/components/page/Page.tsx +++ b/src/app/components/page/Page.tsx @@ -4,6 +4,7 @@ import classNames from 'classnames'; import { ContainerColor } from '../../styles/ContainerColor.css'; import * as css from './style.css'; import { ScreenSize, useScreenSizeContext } from '../../hooks/useScreenSize'; +import { Outlet, useOutletContext } from 'react-router-dom'; type PageRootProps = { nav: ReactNode; @@ -12,6 +13,7 @@ type PageRootProps = { export function PageRoot({ nav, children }: PageRootProps) { const screenSize = useScreenSizeContext(); + const { iframeRef } = useOutletContext(); return ( @@ -19,7 +21,7 @@ export function PageRoot({ nav, children }: PageRootProps) { {screenSize !== ScreenSize.Mobile && ( )} - {children} + ); }