Fix build

This commit is contained in:
Nathan Bierema 2021-10-21 13:37:28 -04:00
parent 6a8ab006ed
commit 10c3fae5ae

View File

@ -85,7 +85,11 @@ export default class LogMonitorEntry<
) => ({ ) => ({
style: { style: {
...style, ...style,
backgroundColor: dataIsEqual(data, previousData, keyPath) backgroundColor: dataIsEqual(
data,
previousData,
keyPath as (string | number)[]
)
? 'transparent' ? 'transparent'
: this.props.theme.base01, : this.props.theme.base01,
}, },
@ -93,7 +97,7 @@ export default class LogMonitorEntry<
const getNestedNodeStyle: StylingValue = ({ style }, keyPath) => ({ const getNestedNodeStyle: StylingValue = ({ style }, keyPath) => ({
style: { style: {
...style, ...style,
...(keyPath.length > 1 ? {} : styles.root), ...((keyPath as unknown[]).length > 1 ? {} : styles.root),
}, },
}); });
theme = { theme = {