aboutsummaryrefslogtreecommitdiff
path: root/src/debug/Viewer.tsx
diff options
context:
space:
mode:
authorSam Wilkins <samuel_wilkins@brown.edu>2019-06-17 13:38:15 -0400
committerSam Wilkins <samuel_wilkins@brown.edu>2019-06-17 13:38:15 -0400
commitde0304b2966ebdede9d9db8c510e19020046115c (patch)
tree43ff84d63818109ca7af8147e16e91f240465b8f /src/debug/Viewer.tsx
parenta3e1f7332e0cb96dae0abd80a2972ae74ac31104 (diff)
peripheral renaming fixes
Diffstat (limited to 'src/debug/Viewer.tsx')
-rw-r--r--src/debug/Viewer.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/Viewer.tsx b/src/debug/Viewer.tsx
index b22300d0b..753149756 100644
--- a/src/debug/Viewer.tsx
+++ b/src/debug/Viewer.tsx
@@ -146,7 +146,7 @@ class Viewer extends React.Component {
@action
onKeyPress = (e: React.KeyboardEvent<HTMLDivElement>) => {
if (e.key === "Enter") {
- DocServer.GetRefField(this.idToAdd).then(action((field: any) => {
+ DocServer.getRefField(this.idToAdd).then(action((field: any) => {
if (field !== undefined) {
this.fields.push(field);
}