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