diff --git a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap index eec24b0966..9bbf3d36c6 100644 --- a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap +++ b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap @@ -3951,6 +3951,19 @@ exports[`Storyshots Diff Binaries 1`] = ` +
+ + + +
@@ -4219,6 +4232,19 @@ exports[`Storyshots Diff Collapsed 1`] = ` +
+ + + +
@@ -4315,6 +4341,19 @@ exports[`Storyshots Diff Collapsed 1`] = `
+
+ + + +
@@ -4411,6 +4450,19 @@ exports[`Storyshots Diff Collapsed 1`] = `
+
+ + + +
@@ -4507,6 +4559,19 @@ exports[`Storyshots Diff Collapsed 1`] = `
+
+ + + +
@@ -4603,6 +4668,19 @@ exports[`Storyshots Diff Collapsed 1`] = `
+
+ + + +
@@ -4699,6 +4777,19 @@ exports[`Storyshots Diff Collapsed 1`] = `
+
+ + + +
@@ -4804,6 +4895,19 @@ exports[`Storyshots Diff CollapsingWithFunction 1`] = `
+
+ + + +
@@ -4862,6 +4966,19 @@ exports[`Storyshots Diff CollapsingWithFunction 1`] = ` +
+ + + +
@@ -5703,6 +5820,19 @@ exports[`Storyshots Diff CollapsingWithFunction 1`] = ` +
+ + + +
@@ -6140,6 +6270,19 @@ exports[`Storyshots Diff CollapsingWithFunction 1`] = ` +
+ + + +
@@ -6577,6 +6720,19 @@ exports[`Storyshots Diff CollapsingWithFunction 1`] = ` +
+ + + +
@@ -6635,6 +6791,19 @@ exports[`Storyshots Diff CollapsingWithFunction 1`] = ` +
+ + + +
@@ -6702,6 +6871,19 @@ exports[`Storyshots Diff Default 1`] = ` +
+ + + +
@@ -7266,6 +7448,19 @@ exports[`Storyshots Diff Default 1`] = ` +
+ + + +
@@ -8107,6 +8302,19 @@ exports[`Storyshots Diff Default 1`] = ` +
+ + + +
@@ -8544,6 +8752,19 @@ exports[`Storyshots Diff Default 1`] = ` +
+ + + +
@@ -8981,6 +9202,19 @@ exports[`Storyshots Diff Default 1`] = ` +
+ + + +
@@ -10025,6 +10259,19 @@ exports[`Storyshots Diff Default 1`] = ` +
+ + + +
@@ -10546,6 +10793,19 @@ exports[`Storyshots Diff Expandable 1`] = ` +
+ + + +
@@ -11147,6 +11407,19 @@ exports[`Storyshots Diff Expandable 1`] = ` +
+ + + +
@@ -12085,6 +12358,19 @@ exports[`Storyshots Diff Expandable 1`] = ` +
+ + + +
@@ -12594,6 +12880,19 @@ exports[`Storyshots Diff Expandable 1`] = ` +
+ + + +
@@ -13103,6 +13402,19 @@ exports[`Storyshots Diff Expandable 1`] = ` +
+ + + +
@@ -14302,6 +14614,19 @@ exports[`Storyshots Diff Expandable 1`] = ` +
+ + + +
@@ -14860,6 +15185,19 @@ exports[`Storyshots Diff File Annotation 1`] = ` +
+ + + +
@@ -15428,6 +15766,19 @@ exports[`Storyshots Diff File Annotation 1`] = ` +
+ + + +
@@ -16273,6 +16624,19 @@ exports[`Storyshots Diff File Annotation 1`] = ` +
+ + + +
@@ -16714,6 +17078,19 @@ exports[`Storyshots Diff File Annotation 1`] = ` +
+ + + +
@@ -17155,6 +17532,19 @@ exports[`Storyshots Diff File Annotation 1`] = ` +
+ + + +
@@ -18203,6 +18593,19 @@ exports[`Storyshots Diff File Annotation 1`] = ` +
+ + + +
@@ -18728,6 +19131,19 @@ exports[`Storyshots Diff File Controls 1`] = ` +
+ + + +
@@ -19310,6 +19726,19 @@ exports[`Storyshots Diff File Controls 1`] = `
+
+ + + +
@@ -20169,6 +20598,19 @@ exports[`Storyshots Diff File Controls 1`] = `
+
+ + + +
@@ -20624,6 +21066,19 @@ exports[`Storyshots Diff File Controls 1`] = `
+
+ + + +
@@ -21079,6 +21534,19 @@ exports[`Storyshots Diff File Controls 1`] = `
+
+ + + +
@@ -22141,6 +22609,19 @@ exports[`Storyshots Diff File Controls 1`] = `
+
+ + + +
@@ -22680,6 +23161,19 @@ exports[`Storyshots Diff Hunks 1`] = `
+
+ + + +
@@ -23508,6 +24002,19 @@ exports[`Storyshots Diff Line Annotation 1`] = ` +
+ + + +
@@ -24084,6 +24591,19 @@ exports[`Storyshots Diff Line Annotation 1`] = ` +
+ + + +
@@ -24937,6 +25457,19 @@ exports[`Storyshots Diff Line Annotation 1`] = ` +
+ + + +
@@ -25374,6 +25907,19 @@ exports[`Storyshots Diff Line Annotation 1`] = ` +
+ + + +
@@ -25811,6 +26357,19 @@ exports[`Storyshots Diff Line Annotation 1`] = ` +
+ + + +
@@ -26855,6 +27414,19 @@ exports[`Storyshots Diff Line Annotation 1`] = ` +
+ + + +
@@ -27388,6 +27960,19 @@ exports[`Storyshots Diff OnClick 1`] = ` +
+ + + +
@@ -27992,6 +28577,19 @@ exports[`Storyshots Diff OnClick 1`] = ` +
+ + + +
@@ -28895,6 +29493,19 @@ exports[`Storyshots Diff OnClick 1`] = ` +
+ + + +
@@ -29362,6 +29973,19 @@ exports[`Storyshots Diff OnClick 1`] = ` +
+ + + +
@@ -29829,6 +30453,19 @@ exports[`Storyshots Diff OnClick 1`] = ` +
+ + + +
@@ -30949,6 +31586,19 @@ exports[`Storyshots Diff OnClick 1`] = ` +
+ + + +
@@ -31506,6 +32156,19 @@ exports[`Storyshots Diff Side-By-Side 1`] = ` +
+ + + +
@@ -32163,6 +32826,19 @@ exports[`Storyshots Diff Side-By-Side 1`] = ` +
+ + + +
@@ -33094,6 +33770,19 @@ exports[`Storyshots Diff Side-By-Side 1`] = ` +
+ + + +
@@ -33583,6 +34272,19 @@ exports[`Storyshots Diff Side-By-Side 1`] = ` +
+ + + +
@@ -34072,6 +34774,19 @@ exports[`Storyshots Diff Side-By-Side 1`] = ` +
+ + + +
@@ -35285,6 +36000,19 @@ exports[`Storyshots Diff Side-By-Side 1`] = ` +
+ + + +
@@ -35879,6 +36607,19 @@ exports[`Storyshots Diff SyntaxHighlighting 1`] = ` +
+ + + +
@@ -36443,6 +37184,19 @@ exports[`Storyshots Diff SyntaxHighlighting 1`] = ` +
+ + + +
@@ -37284,6 +38038,19 @@ exports[`Storyshots Diff SyntaxHighlighting 1`] = ` +
+ + + +
@@ -37721,6 +38488,19 @@ exports[`Storyshots Diff SyntaxHighlighting 1`] = ` +
+ + + +
@@ -38158,6 +38938,19 @@ exports[`Storyshots Diff SyntaxHighlighting 1`] = ` +
+ + + +
@@ -39202,6 +39995,19 @@ exports[`Storyshots Diff SyntaxHighlighting 1`] = ` +
+ + + +
@@ -39723,6 +40529,19 @@ exports[`Storyshots Diff WithLinkToFile 1`] = ` +
+ + + +
@@ -40324,6 +41143,19 @@ exports[`Storyshots Diff WithLinkToFile 1`] = ` +
+ + + +
@@ -41262,6 +42094,19 @@ exports[`Storyshots Diff WithLinkToFile 1`] = ` +
+ + + +
@@ -41771,6 +42616,19 @@ exports[`Storyshots Diff WithLinkToFile 1`] = ` +
+ + + +
@@ -42280,6 +43138,19 @@ exports[`Storyshots Diff WithLinkToFile 1`] = ` +
+ + + +
@@ -43479,6 +44350,19 @@ exports[`Storyshots Diff WithLinkToFile 1`] = ` +
+ + + +
diff --git a/scm-ui/ui-components/src/buttons/OpenInFullscreenButton.tsx b/scm-ui/ui-components/src/buttons/OpenInFullscreenButton.tsx index 4f5323a921..70d4ee5ead 100644 --- a/scm-ui/ui-components/src/buttons/OpenInFullscreenButton.tsx +++ b/scm-ui/ui-components/src/buttons/OpenInFullscreenButton.tsx @@ -48,12 +48,14 @@ const OpenInFullscreenButton: FC = ({ modalTitle, modalBody }) => { - {showModal && setShowModal(false)} - body={modalBody} - active={showModal} - />} + {showModal && ( + setShowModal(false)} + body={modalBody} + active={showModal} + /> + )} ); };