Skip to content

Commit 0cbba3a

Browse files
fix(overmind-devtools-client): correctly check port to show correct guide
1 parent 23aa094 commit 0cbba3a

File tree

1 file changed

+1
-1
lines changed
  • packages/node_modules/overmind-devtools-client/src/overmind

1 file changed

+1
-1
lines changed

packages/node_modules/overmind-devtools-client/src/overmind/effects.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const utils = {
77
return window.confirm(text)
88
},
99
getPort() {
10-
return window['__OVERMIND_DEVTOOLS_BACKEND_PORT__'] || 3032
10+
return Number(window['__OVERMIND_DEVTOOLS_BACKEND_PORT__'] || 3032)
1111
},
1212
}
1313

0 commit comments

Comments
 (0)