aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PresBox.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-08-19 12:11:47 -0400
committerbob <bcz@cs.brown.edu>2019-08-19 12:11:47 -0400
commit697ee484fc9d5db6cf61397451869b563e97206e (patch)
treeee67345d7c56601c8ad2ba2be61de7885c71bb46 /src/client/views/nodes/PresBox.tsx
parente37bf9124c952aa26c3e29deb9e4faa01cad1a7e (diff)
fixed imports to make presentation compile.
Diffstat (limited to 'src/client/views/nodes/PresBox.tsx')
-rw-r--r--src/client/views/nodes/PresBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/PresBox.tsx b/src/client/views/nodes/PresBox.tsx
index 1bd2ad3c9..91c141540 100644
--- a/src/client/views/nodes/PresBox.tsx
+++ b/src/client/views/nodes/PresBox.tsx
@@ -752,7 +752,7 @@ export class PresBox extends React.Component<FieldViewProps> { //FieldViewProps?
//getting the presentation that will be removed
let removedDoc = this.presentationsMapping.get(this.currentSelectedPresValue!);
//that presentation is removed
- presentationList!.splice(presentationList!.indexOf(removedDoc!), 1);
+ presentationList!.splice(presentationList.indexOf(removedDoc!), 1);
//its mappings are removed from local copies
this.presentationsKeyMapping.delete(removedDoc!);