Skip to content

Commit 1a97e70

Browse files
committed
Allow react-devtools-inline createStore() method to override Store config params
1 parent f56dfe9 commit 1a97e70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-devtools-inline/src/frontend.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export function createStore(bridge: FrontendBridge, config?: Config): Store {
2626
checkBridgeProtocolCompatibility: true,
2727
supportsTraceUpdates: true,
2828
supportsTimeline: true,
29-
supportsNativeInspection: config?.supportsNativeInspection !== false,
29+
supportsNativeInspection: true,
30+
...config,
3031
});
3132
}
3233

0 commit comments

Comments
 (0)