Move changelog loading to server

Summary: per title

Reviewed By: aigoncharov

Differential Revision: D32723706

fbshipit-source-id: ce5108da9f5da6fdfa7d1a66a31a4f8f430eb78d
This commit is contained in:
Michel Weststrate
2021-12-08 04:25:28 -08:00
committed by Facebook GitHub Bot
parent eab4f0d3d3
commit 129cbd6f7b
7 changed files with 55 additions and 55 deletions

View File

@@ -17,14 +17,7 @@ import {
BugOutlined,
HistoryOutlined,
} from '@ant-design/icons';
import {
Dialog,
Layout,
NUX,
theme,
Tracked,
TrackingScope,
} from 'flipper-plugin';
import {Layout, NUX, theme, Tracked, TrackingScope} from 'flipper-plugin';
const {Text, Title} = Typography;
@@ -33,8 +26,8 @@ import config from '../fb-stubs/config';
import isProduction from '../utils/isProduction';
import {getAppVersion} from '../utils/info';
import {getFlipperLib} from 'flipper-plugin';
import ChangelogSheet from '../chrome/ChangelogSheet';
import {ReleaseChannel} from 'flipper-common';
import {showChangelog} from '../chrome/ChangelogSheet';
const RowContainer = styled(FlexRow)({
alignItems: 'flex-start',
@@ -192,11 +185,9 @@ function WelcomeScreenContent() {
size="small"
icon={<HistoryOutlined />}
title="Changelog"
onClick={() =>
Dialog.showModal((onHide) => (
<ChangelogSheet onHide={onHide} />
))
}
onClick={() => {
showChangelog(false);
}}
/>
</NUX>
</Tooltip>