File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
packages/react-devtools-timeline/src Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 1010import type { DataResource } from './createDataResourceFromImportedFile' ;
1111import type { ViewState } from './types' ;
1212
13+ import { isInternalFacebookBuild } from 'react-devtools-feature-flags' ;
1314import * as React from 'react' ;
1415import {
1516 Suspense ,
@@ -79,6 +80,19 @@ export function Timeline(_: {||}) {
7980
8081const Welcome = ( { onFileSelect} : { | onFileSelect : ( file : File ) = > void | } ) => (
8182 < ol className = { styles . WelcomeInstructionsList } >
83+ { isInternalFacebookBuild && (
84+ < li className = { styles . WelcomeInstructionsListItem } >
85+ Enable the
86+ < a
87+ className = { styles . WelcomeInstructionsListItemLink }
88+ href = "https://fburl.com/react-devtools-scheduling-profiler-gk"
89+ rel = "noopener noreferrer"
90+ target = "_blank" >
91+ < code > react_enable_scheduling_profiler</ code > GK
92+ </ a >
93+ .
94+ </ li >
95+ ) }
8296 < li className = { styles . WelcomeInstructionsListItem } >
8397 Open a website that's built with the
8498 < a
You can’t perform that action at this time.
0 commit comments