aboutsummaryrefslogtreecommitdiff
path: root/src/debug/Viewer.tsx
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-03-18 00:46:35 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-03-18 00:46:35 -0400
commit0476ae26662ac8a2f4232b0fb5f7b13bf7c425d4 (patch)
tree14284e8c317f813c2e4eee4eb7e69479edbc89e5 /src/debug/Viewer.tsx
parent33103b6efb18e537707662c423248ae74ffd13e8 (diff)
Debugger changes
Diffstat (limited to 'src/debug/Viewer.tsx')
-rw-r--r--src/debug/Viewer.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/debug/Viewer.tsx b/src/debug/Viewer.tsx
index 780e9f8f2..e6ad0f540 100644
--- a/src/debug/Viewer.tsx
+++ b/src/debug/Viewer.tsx
@@ -137,11 +137,14 @@ class DebugViewer extends React.Component<{ fieldId: string }> {
content = (<FieldViewer field={this.field} />)
} else if (this.field instanceof Key) {
content = (<KeyViewer field={this.field} />)
+ } else {
+ content = (<span>Unrecognized field type</span>)
}
} else if (this.error) {
content = <span>Field <b>{this.props.fieldId}</b> not found <button onClick={() => this.update()}>Refresh</button></span>
} else {
content = <>Field loading</>
+ console.log(this.props.fieldId);
}
return content;
}