Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit 2ea86b3

Browse files
committed
Merge pull request #301 from kassens/enable-relay
[relay] always enable Relay dev tools
2 parents 17484bb + a295c62 commit 2ea86b3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

plugins/Relay/backend.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ function decorate(obj, attr, fn) {
2828
let subscriptionEnabled = false;
2929

3030
module.exports = (bridge: Bridge, agent: Agent, hook: Object) => {
31-
var shouldEnable = !!(
32-
hook._relayInternals &&
33-
window.location.hash.indexOf('relaydevtools') >= 0
34-
);
31+
var shouldEnable = !!hook._relayInternals;
3532

3633
bridge.onCall('relay:check', () => shouldEnable);
3734
if (!shouldEnable) {

0 commit comments

Comments
 (0)