mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
remove some trash
This commit is contained in:
parent
9a9372d253
commit
2123ae6edd
@ -10,7 +10,7 @@ import settings from 'core/libs/settings'
|
|||||||
const defaultSocketAddress = "localhost:7000"
|
const defaultSocketAddress = "localhost:7000"
|
||||||
|
|
||||||
@connect(({ app }) => ({ app }))
|
@connect(({ app }) => ({ app }))
|
||||||
export default class SocketDebug extends React.PureComponent{
|
export default class SocketDebug extends React.Component{
|
||||||
state = {
|
state = {
|
||||||
resolvers: objectToArray(this.props.app.resolvers),
|
resolvers: objectToArray(this.props.app.resolvers),
|
||||||
InputRaw: defaultSocketAddress
|
InputRaw: defaultSocketAddress
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
import React from 'react'
|
|
||||||
|
|
||||||
export default class Render extends React.Component {
|
|
||||||
state = {
|
|
||||||
style: { textAlign: "center" }
|
|
||||||
}
|
|
||||||
|
|
||||||
render(){
|
|
||||||
const { style } = this.state
|
|
||||||
const cambiarColor = (color) => { this.setState({ style: { color: color, ...style } }) }
|
|
||||||
return(
|
|
||||||
<div style={style} >
|
|
||||||
Current Style => { JSON.stringify(style) }<br />
|
|
||||||
<button onClick={() => { cambiarColor("green") }} > Update estilo </button>
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user