mirror of
https://github.com/chinchang/web-maker.git
synced 2025-05-10 04:17:45 +02:00
Console: enable dom inspector also
This commit is contained in:
parent
37d8e9801a
commit
add3086b89
@ -1,7 +1,7 @@
|
|||||||
import { h, Component } from 'preact';
|
import { h, Component } from 'preact';
|
||||||
import { PureComponent } from 'preact-compat';
|
import { PureComponent } from 'preact-compat';
|
||||||
|
|
||||||
import { ObjectInspector, chromeDark } from 'react-inspector';
|
import { Inspector, chromeDark } from 'react-inspector';
|
||||||
|
|
||||||
class LogRow extends Component {
|
class LogRow extends Component {
|
||||||
shouldComponentUpdate() {
|
shouldComponentUpdate() {
|
||||||
@ -18,11 +18,7 @@ class LogRow extends Component {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ObjectInspector
|
<Inspector theme={theme} theme="chromeDark" data={this.props.data} />
|
||||||
theme={theme}
|
|
||||||
theme="chromeDark"
|
|
||||||
data={this.props.data}
|
|
||||||
/>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user