Removed some old ui/ components

Summary: Removing old components that are no longer used, and cleaning up index.tsx to prevent future for some of those

Reviewed By: nikoant

Differential Revision: D29428621

fbshipit-source-id: 78ae51c09510738cf2d75982fdae35b9ef6d2d7e
This commit is contained in:
Michel Weststrate
2021-06-30 10:40:50 -07:00
committed by Facebook GitHub Bot
parent 1dafe351f7
commit 8e0d3cf779
32 changed files with 25 additions and 1461 deletions

View File

@@ -20,7 +20,6 @@ import {
ACTIVE_SHEET_CHANGELOG,
} from './reducers/application';
import {setStaticView} from './reducers/connections';
import SupportRequestFormV2 from './fb-stubs/SupportRequestFormV2';
import {Store} from './reducers/';
import electron, {MenuItemConstructorOptions} from 'electron';
import {notNull} from './utils/typeUtils';
@@ -270,7 +269,9 @@ function getTemplate(
label: 'Create...',
click: function () {
// Dispatch an action to open the export screen of Support Request form
store.dispatch(setStaticView(SupportRequestFormV2));
store.dispatch(
setStaticView(require('./fb-stubs/SupportRequestFormV2').default),
);
},
},
];