File tree 3 files changed +4
-4
lines changed
packages/react-devtools-shared/src/devtools/views/Profiler
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 10
10
import * as React from 'react' ;
11
11
import { Fragment , useContext } from 'react' ;
12
12
import { ProfilerContext } from './ProfilerContext' ;
13
- import Schedulers from './Schedulers ' ;
13
+ import Updaters from './Updaters ' ;
14
14
import { formatDuration , formatTime } from './utils' ;
15
15
import { StoreContext } from '../context' ;
16
16
import { getCommitTree } from './CommitTreeBuilder' ;
@@ -117,7 +117,7 @@ export default function SidebarCommitInfo(_: Props) {
117
117
{ updaters !== null && commitTree !== null && (
118
118
< li className = { styles . ListItem } >
119
119
< label className = { styles . Label } > What caused this update</ label > ?
120
- < Schedulers commitTree = { commitTree } updaters = { updaters } />
120
+ < Updaters commitTree = { commitTree } updaters = { updaters } />
121
121
</ li >
122
122
) }
123
123
File renamed without changes.
Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ import type {SerializedElement} from '../Components/types';
13
13
import * as React from 'react' ;
14
14
import { useContext } from 'react' ;
15
15
import { ProfilerContext } from './ProfilerContext' ;
16
- import styles from './Schedulers .css' ;
16
+ import styles from './Updaters .css' ;
17
17
18
18
export type Props = { |
19
19
commitTree : CommitTree ,
20
20
updaters : Array < SerializedElement > ,
21
21
| } ;
22
22
23
- export default function Schedulers ( { commitTree, updaters} : Props ) {
23
+ export default function Updaters ( { commitTree, updaters} : Props ) {
24
24
const { selectFiber} = useContext ( ProfilerContext ) ;
25
25
26
26
const children =
You can’t perform that action at this time.
0 commit comments