Skip to content

Commit 5701076

Browse files
authored
chore: Fixes iframe screenshot tests (#80)
1 parent 0b8e2aa commit 5701076

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

pages/06-visual-tests/in-iframe.page.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import { IframeWrapper } from "../utils/iframe-wrapper";
1010

1111
export default function () {
1212
return (
13-
<IframeWrapper
14-
AppComponent={() => {
15-
const { chartProps } = useChartSettings();
16-
return (
17-
<Page title="Chart inside iframe visual regression page">
13+
<Page title="Chart inside iframe visual regression page">
14+
<IframeWrapper
15+
AppComponent={() => {
16+
const { chartProps } = useChartSettings();
17+
return (
1818
<CoreChart
1919
{...omit(chartProps.pie, "ref")}
2020
ariaLabel="Pie chart"
@@ -40,9 +40,9 @@ export default function () {
4040
}, 0);
4141
}}
4242
/>
43-
</Page>
44-
);
45-
}}
46-
/>
43+
);
44+
}}
45+
/>
46+
</Page>
4747
);
4848
}

0 commit comments

Comments
 (0)