Remove remaining process.env
Summary: Per title Reviewed By: passy Differential Revision: D32721205 fbshipit-source-id: 8e8a7fcac7d73f32d7fb59f852a8099cfe20e542
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2b4981c7cb
commit
058785a509
@@ -66,6 +66,7 @@ import {
|
||||
} from '../utils/exportData';
|
||||
import {openDeeplinkDialog} from '../deeplink';
|
||||
import {css} from '@emotion/css';
|
||||
import {getRenderHostInstance} from '../RenderHost';
|
||||
|
||||
const LeftRailButtonElem = styled(Button)<{kind?: 'small'}>(({kind}) => ({
|
||||
width: kind === 'small' ? 32 : 36,
|
||||
@@ -300,7 +301,12 @@ function ExtrasMenu() {
|
||||
</Menu>
|
||||
</NUX>
|
||||
{showSettings && (
|
||||
<SettingsSheet platform={process.platform} onHide={onSettingsClose} />
|
||||
<SettingsSheet
|
||||
platform={
|
||||
getRenderHostInstance().serverConfig.environmentInfo.os.platform
|
||||
}
|
||||
onHide={onSettingsClose}
|
||||
/>
|
||||
)}
|
||||
<WelcomeScreen
|
||||
visible={welcomeVisible}
|
||||
|
||||
Reference in New Issue
Block a user