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 10
10
import type { DataResource } from './createDataResourceFromImportedFile' ;
11
11
import type { ViewState } from './types' ;
12
12
13
+ import { isInternalFacebookBuild } from 'react-devtools-feature-flags' ;
13
14
import * as React from 'react' ;
14
15
import {
15
16
Suspense ,
@@ -79,6 +80,19 @@ export function Timeline(_: {||}) {
79
80
80
81
const Welcome = ( { onFileSelect} : { | onFileSelect : ( file : File ) = > void | } ) => (
81
82
< 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
+ ) }
82
96
< li className = { styles . WelcomeInstructionsListItem } >
83
97
Open a website that's built with the
84
98
< a
You can’t perform that action at this time.
0 commit comments