diff --git a/editors/demo/src/HHMI/MultipleChoiceQuestionService/components/QuestionComponent.js b/editors/demo/src/HHMI/MultipleChoiceQuestionService/components/QuestionComponent.js index a116674c20e220b7dd48dd18fe764b0cc1e9e93f..8c1649569ff9d6b71b36fe8bbdec71f9563c8e35 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 702ae222664dfe2cea5a9df6b2cec85a4c43d317..ca806312efbc9ba9c7e741f38ddc965dc044f780 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 9e27d8924194a7f54ea7f6647fb9ede55a4e90b6..e0f3b57ac42f93e9c2c77d5f581fdf04bb753b9c 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 {