aboutsummaryrefslogtreecommitdiff
path: root/src/debug/Viewer.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-02-23 10:23:26 -0500
committerbobzel <zzzman@gmail.com>2021-02-23 10:23:26 -0500
commitee2f9feea2ec70dbf5a60d2b26a61b05eca3dbf5 (patch)
treea1c9626742dc939ee3c982200fb8a7f611e72713 /src/debug/Viewer.tsx
parent77b1f624f24e055c498e3104fc84227a545a05b9 (diff)
cleaned up EditableView a bit
Diffstat (limited to 'src/debug/Viewer.tsx')
-rw-r--r--src/debug/Viewer.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/debug/Viewer.tsx b/src/debug/Viewer.tsx
index bebd71dcf..ee7dd1fc1 100644
--- a/src/debug/Viewer.tsx
+++ b/src/debug/Viewer.tsx
@@ -138,8 +138,7 @@ class DebugViewer extends React.Component<{ field: FieldResult, setValue(value:
return <p>Unrecognized field type</p>;
}
- return <EditableView GetValue={() => Field.toScriptString(field)} SetValue={this.props.setValue}
- contents={content}></EditableView>;
+ return <EditableView GetValue={() => Field.toScriptString(field)} SetValue={this.props.setValue} contents={content} />;
}
}