Skip to content

Commit 1a55f6b

Browse files
committed
Update EmbeddableFrame.tsx
1 parent bda8498 commit 1a55f6b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/gitbook/src/components/Embeddable/EmbeddableFrame.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ export function EmbeddableFrameMain(props: { children: React.ReactNode; 'data-te
3232
const { children, 'data-testid': dataTestId } = props;
3333

3434
return (
35-
<div className="flex flex-1 flex-col overflow-hidden" data-testid={dataTestId}>
35+
<div
36+
className="flex flex-1 flex-col overflow-hidden"
37+
data-testid={dataTestId ?? 'embed-frame-main'}
38+
>
3639
{children}
3740
</div>
3841
);

0 commit comments

Comments
 (0)