File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
packages/react-devtools-inline/src Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,18 @@ import type {FrontendBridge} from 'react-devtools-shared/src/bridge';
18
18
import type { Props } from 'react-devtools-shared/src/devtools/views/DevTools' ;
19
19
20
20
type Config = { |
21
+ checkBridgeProtocolCompatibility ? : boolean ,
21
22
supportsNativeInspection ? : boolean ,
23
+ supportsProfiling ? : boolean ,
22
24
| } ;
23
25
24
26
export function createStore ( bridge : FrontendBridge , config ?: Config ) : Store {
25
27
return new Store ( bridge , {
26
28
checkBridgeProtocolCompatibility : true ,
27
29
supportsTraceUpdates : true ,
28
30
supportsTimeline : true ,
29
- supportsNativeInspection : config ?. supportsNativeInspection !== false ,
31
+ supportsNativeInspection : true ,
32
+ ...config ,
30
33
} ) ;
31
34
}
32
35
You can’t perform that action at this time.
0 commit comments