Skip to content

Commit

Permalink
Add back id for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-debruijn committed Oct 8, 2024
1 parent 64336c8 commit 188dccf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/pages/[...params].page.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,14 @@ const prefixWhenNotEmpty = (value, prefix) =>
value ? `${prefix}${value}` : value;

const IFrame = memo(({ url }) => (
<Box as="iframe" src={url} width="100%" height="100vh" flex={1} />
<Box
id="fallback_frame"
as="iframe"
src={url}
width="100%"
height="100vh"
flex={1}
/>
));

IFrame.displayName = 'IFrame';
Expand Down

0 comments on commit 188dccf

Please sign in to comment.