Minor component fix to show Void statements
This commit is contained in:
parent
078534f7c8
commit
590ffac552
|
@ -200,6 +200,12 @@ export const SquiggleItem: React.FC<SquiggleItemProps> = ({
|
||||||
{expression.value.toDateString()}
|
{expression.value.toDateString()}
|
||||||
</VariableBox>
|
</VariableBox>
|
||||||
);
|
);
|
||||||
|
case "void":
|
||||||
|
return (
|
||||||
|
<VariableBox heading="Void" showTypes={showTypes}>
|
||||||
|
{"Void"}
|
||||||
|
</VariableBox>
|
||||||
|
);
|
||||||
case "timeDuration": {
|
case "timeDuration": {
|
||||||
return (
|
return (
|
||||||
<VariableBox heading="Time Duration" showTypes={showTypes}>
|
<VariableBox heading="Time Duration" showTypes={showTypes}>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user