diff --git a/desktop/flipper-ui-core/src/sandy-chrome/WelcomeScreen.tsx b/desktop/flipper-ui-core/src/sandy-chrome/WelcomeScreen.tsx index ec3b4d886..29d839751 100644 --- a/desktop/flipper-ui-core/src/sandy-chrome/WelcomeScreen.tsx +++ b/desktop/flipper-ui-core/src/sandy-chrome/WelcomeScreen.tsx @@ -141,9 +141,8 @@ export function WelcomeScreenStaticView() { } function WelcomeScreenContent() { - function isInsidersChannel() { - return config.getReleaseChannel() === ReleaseChannel.INSIDERS; - } + const isInsidersChannel = + config.getReleaseChannel() === ReleaseChannel.INSIDERS; return ( @@ -153,7 +152,7 @@ function WelcomeScreenContent() { style={{width: '100%', padding: '0 32px 32px', alignItems: 'center'}}> {config.getReleaseChannel()}