This tab is only visible to
developers
@@ -47,8 +47,8 @@ const ModComponentFormStateTab: React.FC = () => {
);
diff --git a/src/pageEditor/tabs/editTab/dataPanel/tabs/ModVariablesTab.tsx b/src/pageEditor/tabs/editTab/dataPanel/tabs/ModVariablesTab.tsx
index eb101e1748..48825209e8 100644
--- a/src/pageEditor/tabs/editTab/dataPanel/tabs/ModVariablesTab.tsx
+++ b/src/pageEditor/tabs/editTab/dataPanel/tabs/ModVariablesTab.tsx
@@ -46,6 +46,9 @@ type StateValues = {
Public: UnknownObject | string;
};
+/**
+ * Data panel tab displaying mod variables, and private/public state.
+ */
const ModVariablesTab: React.VFC = () => {
const activeModComponentFormState = useSelector(
selectActiveModComponentFormState,
diff --git a/src/pageEditor/tabs/editTab/dataPanel/tabs/__snapshots__/PageStateTab.test.tsx.snap b/src/pageEditor/tabs/editTab/dataPanel/tabs/__snapshots__/PageStateTab.test.tsx.snap
deleted file mode 100644
index fa8d823f0c..0000000000
--- a/src/pageEditor/tabs/editTab/dataPanel/tabs/__snapshots__/PageStateTab.test.tsx.snap
+++ /dev/null
@@ -1,521 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`PageStateTab it renders with mod's mod component 1`] = `
-
-
-
-
-
-
-
-
-
-
-
- Private:
-
-
-
-
-
- {}
-
- 2 keys
-
-
-
-
-
-
- foo:
-
-
-
- "bar"
-
-
-
-
-
- baz:
-
-
-
- 32
-
-
-
-
-
-
-
-
- Mod:
-
-
-
-
-
- {}
-
- 2 keys
-
-
-
-
-
-
- foo:
-
-
-
- "bar"
-
-
-
-
-
- baz:
-
-
-
- 32
-
-
-
-
-
-
-
-
- Public:
-
-
-
-
-
- {}
-
- 2 keys
-
-
-
-
-
-
- foo:
-
-
-
- "bar"
-
-
-
-
-
- baz:
-
-
-
- 32
-
-
-
-
-
-
-
-
-
-
-`;
-
-exports[`PageStateTab it renders with standalone mod component 1`] = `
-
-
-
-
-
-
-
-
-
-
-
- Private:
-
-
-
-
-
- {}
-
- 2 keys
-
-
-
-
-
-
- foo:
-
-
-
- "bar"
-
-
-
-
-
- baz:
-
-
-
- 32
-
-
-
-
-
-
-
- Mod:
-
-
-
- "Starter Brick is not in a mod"
-
-
-
-
-
-
- Public:
-
-
-
-
-
- {}
-
- 2 keys
-
-
-
-
-
-
- foo:
-
-
-
- "bar"
-
-
-
-
-
- baz:
-
-
-
- 32
-
-
-
-
-
-
-
-
-
-
-`;
diff --git a/src/tsconfig.strictNullChecks.json b/src/tsconfig.strictNullChecks.json
index cdff66a424..081e3f70f5 100644
--- a/src/tsconfig.strictNullChecks.json
+++ b/src/tsconfig.strictNullChecks.json
@@ -1172,7 +1172,7 @@
"./pageEditor/tabs/editTab/dataPanel/DataTabJsonTree.tsx",
"./pageEditor/tabs/editTab/dataPanel/ErrorDisplay.tsx",
"./pageEditor/tabs/editTab/dataPanel/dataPanelTypes.ts",
- "./pageEditor/tabs/editTab/dataPanel/tabs/ConfigurationTab.tsx",
+ "./pageEditor/tabs/editTab/dataPanel/tabs/BrickConfigTab.tsx",
"./pageEditor/tabs/editTab/dataPanel/tabs/ModVariablesTab.tsx",
"./pageEditor/tabs/editTab/dataPanel/tabs/ModComponentFormStateTab.tsx",
"./pageEditor/tabs/editTab/dataPanel/useDataPanelActiveTabKey.ts",