File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
node_modules/overmind-devtools-client/src Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -62,15 +62,13 @@ const Devtools: FunctionComponent = () => {
6262 )
6363 }
6464
65- let text = `const overmind = createOvermind(config, {
65+ let code = `const overmind = createOvermind(config, {
6666 devtools: "localhost:${ state . port } ",
6767 })`
6868 return state . isConnecting ? (
6969 < div className = { styles . wrapper } >
7070 < h1 > Waiting for an app to connect to { state . port } ...</ h1 >
71- < pre className = { styles . code } >
72- { text }
73- </ pre >
71+ < pre className = { styles . code } > { code } </ pre >
7472 </ div >
7573 ) : (
7674 < Workspace />
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ export const createApp = (data: Partial<App>): App =>
5252 expandedStatePaths : [ '' ] ,
5353 expandedComponents : [ ] ,
5454 selectedStatePath : null ,
55+ connectionState : 'connected' ,
5556 } ,
5657 data
5758 )
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const overmind = createOvermind(
1515 devtools : false ,
1616 }
1717 : {
18- devtools : 'localhost:3032 ' ,
18+ devtools : 'localhost:3031 ' ,
1919 }
2020)
2121setConfig ( {
You can’t perform that action at this time.
0 commit comments