Remove remaining process.env

Summary: Per title

Reviewed By: passy

Differential Revision: D32721205

fbshipit-source-id: 8e8a7fcac7d73f32d7fb59f852a8099cfe20e542
This commit is contained in:
Michel Weststrate
2021-12-08 04:25:28 -08:00
committed by Facebook GitHub Bot
parent 2b4981c7cb
commit 058785a509
8 changed files with 37 additions and 14 deletions

View File

@@ -104,7 +104,12 @@ export function SandyApp() {
if (hasPlatformWizardBeenDone(window.localStorage)) {
Dialog.showModal((onHide) => (
<PlatformSelectWizard onHide={onHide} platform={process.platform} />
<PlatformSelectWizard
onHide={onHide}
platform={
getRenderHostInstance().serverConfig.environmentInfo.os.platform
}
/>
));
}