diff --git a/src/Common/Splitter.ts b/src/Common/Splitter.ts index f16eaef94..653a38cfc 100644 --- a/src/Common/Splitter.ts +++ b/src/Common/Splitter.ts @@ -42,7 +42,10 @@ export class Splitter { } public initialize() { - if (document.getElementById(this.splitterId) !== undefined && document.getElementById(this.leftSideId) !== undefined) { + if ( + document.getElementById(this.splitterId) !== undefined && + document.getElementById(this.leftSideId) !== undefined + ) { this.splitter = document.getElementById(this.splitterId); this.leftSide = document.getElementById(this.leftSideId); } diff --git a/src/Explorer/Controls/Settings/__snapshots__/SettingsComponent.test.tsx.snap b/src/Explorer/Controls/Settings/__snapshots__/SettingsComponent.test.tsx.snap index 794d2beaf..556d1c5cb 100644 --- a/src/Explorer/Controls/Settings/__snapshots__/SettingsComponent.test.tsx.snap +++ b/src/Explorer/Controls/Settings/__snapshots__/SettingsComponent.test.tsx.snap @@ -1118,9 +1118,11 @@ exports[`SettingsComponent renders 1`] = ` }, "direction": "vertical", "isCollapsed": [Function], + "leftSide": null, "leftSideId": "resourcetree", "onResizeStart": [Function], "onResizeStop": [Function], + "splitter": null, "splitterId": "h_splitter1", }, "stringInputPane": StringInputPane { @@ -2327,9 +2329,11 @@ exports[`SettingsComponent renders 1`] = ` }, "direction": "vertical", "isCollapsed": [Function], + "leftSide": null, "leftSideId": "resourcetree", "onResizeStart": [Function], "onResizeStop": [Function], + "splitter": null, "splitterId": "h_splitter1", }, "stringInputPane": StringInputPane { @@ -3549,9 +3553,11 @@ exports[`SettingsComponent renders 1`] = ` }, "direction": "vertical", "isCollapsed": [Function], + "leftSide": null, "leftSideId": "resourcetree", "onResizeStart": [Function], "onResizeStop": [Function], + "splitter": null, "splitterId": "h_splitter1", }, "stringInputPane": StringInputPane { @@ -4758,9 +4764,11 @@ exports[`SettingsComponent renders 1`] = ` }, "direction": "vertical", "isCollapsed": [Function], + "leftSide": null, "leftSideId": "resourcetree", "onResizeStart": [Function], "onResizeStop": [Function], + "splitter": null, "splitterId": "h_splitter1", }, "stringInputPane": StringInputPane {