From b954eeb57c1ba7a459d85ca7f98855e1b4134267 Mon Sep 17 00:00:00 2001
From: Monika <monika_hedman@brown.edu>
Date: Tue, 25 Jun 2019 12:38:51 -0400
Subject: lots of clean up (css & variables)

---
 src/client/views/search/CheckBox.tsx | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

(limited to 'src/client/views/search/CheckBox.tsx')

diff --git a/src/client/views/search/CheckBox.tsx b/src/client/views/search/CheckBox.tsx
index c75980e7c..a9d48219a 100644
--- a/src/client/views/search/CheckBox.tsx
+++ b/src/client/views/search/CheckBox.tsx
@@ -16,11 +16,11 @@ interface CheckBoxProps {
 @observer
 export class CheckBox extends React.Component<CheckBoxProps>{
     // true = checked, false = unchecked
-    @observable _status: boolean;
-    @observable uncheckTimeline: anime.AnimeTimelineInstance;
-    @observable checkTimeline: anime.AnimeTimelineInstance;
-    @observable checkRef: any;
-    @observable _resetReaction?: IReactionDisposer;
+    @observable private _status: boolean;
+    @observable private uncheckTimeline: anime.AnimeTimelineInstance;
+    @observable private checkTimeline: anime.AnimeTimelineInstance;
+    @observable private checkRef: any;
+    @observable private _resetReaction?: IReactionDisposer;
 
 
     constructor(props: CheckBoxProps) {
@@ -60,15 +60,15 @@ export class CheckBox extends React.Component<CheckBoxProps>{
         }
 
         this._resetReaction = reaction(
-            () => this.props.parent.resetBoolean,
+            () => this.props.parent._resetBoolean,
             () => {
-                if (this.props.parent.resetBoolean) {
+                if (this.props.parent._resetBoolean) {
                     runInAction(() => {
                         this.reset();
-                        this.props.parent.resetCounter++;
-                        if (this.props.parent.resetCounter === this.props.numCount) {
-                            this.props.parent.resetCounter = 0;
-                            this.props.parent.resetBoolean = false;
+                        this.props.parent._resetCounter++;
+                        if (this.props.parent._resetCounter === this.props.numCount) {
+                            this.props.parent._resetCounter = 0;
+                            this.props.parent._resetBoolean = false;
                         }
                     });
                 }
-- 
cgit v1.2.3-70-g09d2

