added a fix for null crashing a page in bindings
This commit is contained in:
parent
0538c08bcd
commit
8a1be448e1
|
|
@ -143,7 +143,7 @@ export const CurrentValueViewer = (props: {
|
||||||
} else {
|
} else {
|
||||||
content = (
|
content = (
|
||||||
<CodeWrapper colorTheme={props.theme}>
|
<CodeWrapper colorTheme={props.theme}>
|
||||||
{props.evaluatedValue.toString()}
|
{props.evaluatedValue ? props.evaluatedValue.toString() : "null"}
|
||||||
</CodeWrapper>
|
</CodeWrapper>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user