Remove SupportRequestFormV2

Summary: This is now replaced by the support entry point and we need to delete the calling sites before we can clean up the everstore type.

Reviewed By: lawrencelomax

Differential Revision: D37090901

fbshipit-source-id: 597684bb149783d75e46ba61113e73878bf271a8
This commit is contained in:
Pascal Hartig
2022-06-13 07:16:47 -07:00
committed by Facebook GitHub Bot
parent ad7d2e0362
commit b25a212890
8 changed files with 2 additions and 441 deletions

View File

@@ -43,7 +43,6 @@ import {logout} from '../reducers/user';
import config from '../fb-stubs/config';
import styled from '@emotion/styled';
import {showEmulatorLauncher} from './appinspect/LaunchEmulator';
import SupportRequestFormV2 from '../fb-stubs/SupportRequestFormV2';
import {setStaticView} from '../reducers/connections';
import {getLogger} from 'flipper-common';
import {SandyRatingButton} from '../chrome/RatingButton';
@@ -302,13 +301,7 @@ function ExtrasMenu() {
source: 'sidebar',
group: undefined,
});
if (
getRenderHostInstance().GK('flipper_support_entry_point')
) {
openSupportRequestForm(fullState);
} else {
store.dispatch(setStaticView(SupportRequestFormV2));
}
openSupportRequestForm(fullState);
}}>
Feedback
</Menu.Item>