From 29e792d098f495fea6c3189f7c8fda6fcc9a6d60 Mon Sep 17 00:00:00 2001
From: chris <kokosias@yahoo.gr>
Date: Sat, 4 Sep 2021 06:43:28 +0300
Subject: [PATCH] cleanup

---
 .../components/QuestionComponent.js                           | 1 -
 .../components/SwitchComponent.js                             | 1 -
 editors/demo/src/HHMI/layout/EditorElements.js                | 4 ----
 3 files changed, 6 deletions(-)

diff --git a/editors/demo/src/HHMI/MultipleChoiceQuestionService/components/QuestionComponent.js b/editors/demo/src/HHMI/MultipleChoiceQuestionService/components/QuestionComponent.js
index a116674c2..8c1649569 100644
--- a/editors/demo/src/HHMI/MultipleChoiceQuestionService/components/QuestionComponent.js
+++ b/editors/demo/src/HHMI/MultipleChoiceQuestionService/components/QuestionComponent.js
@@ -1,4 +1,3 @@
-/* eslint-disable react-hooks/exhaustive-deps */
 import React, { useContext } from 'react';
 import styled from 'styled-components';
 import { TextSelection } from 'prosemirror-state';
diff --git a/editors/demo/src/HHMI/MultipleChoiceQuestionService/components/SwitchComponent.js b/editors/demo/src/HHMI/MultipleChoiceQuestionService/components/SwitchComponent.js
index 702ae2226..ca806312e 100644
--- a/editors/demo/src/HHMI/MultipleChoiceQuestionService/components/SwitchComponent.js
+++ b/editors/demo/src/HHMI/MultipleChoiceQuestionService/components/SwitchComponent.js
@@ -22,7 +22,6 @@ const StyledSwitch = styled(Switch)`
 
 const CustomSwitch = ({ node, getPos }) => {
   const context = useContext(WaxContext);
-  const { activeViewId } = context;
   const [checked, setChecked] = useState(false);
 
   const handleChange = () => {
diff --git a/editors/demo/src/HHMI/layout/EditorElements.js b/editors/demo/src/HHMI/layout/EditorElements.js
index 9e27d8924..e0f3b57ac 100644
--- a/editors/demo/src/HHMI/layout/EditorElements.js
+++ b/editors/demo/src/HHMI/layout/EditorElements.js
@@ -109,10 +109,6 @@ export default css`
       position: relative;
       right: 20px;
     }
-
-    p span.wax-selection-marker:last-of-type {
-      display: none;
-    }
   }
 
   .mutiple-choice.ProseMirror-selectednode {
-- 
GitLab