We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12d2b9e commit 03bde03Copy full SHA for 03bde03
packages/node_modules/overmind/src/index.ts
@@ -195,10 +195,11 @@ export class Overmind<Config extends Configuration> implements Configuration {
195
) {
196
const host =
197
options.devtools === true ? 'localhost:3031' : options.devtools
198
- const name =
199
- options.name || typeof document === 'undefined'
200
- ? 'NoName'
201
- : document.title || 'NoName'
+ const name = options.name
+ ? options.name
+ : typeof document === 'undefined'
+ ? 'NoName'
202
+ : document.title || 'NoName'
203
204
this.initializeDevtools(host, name, eventHub, proxyStateTree)
205
} else {
0 commit comments