diff --git a/src/components/Question/Question.tsx b/src/components/Question/Question.tsx
index c0fcee9..e59d3fe 100644
--- a/src/components/Question/Question.tsx
+++ b/src/components/Question/Question.tsx
@@ -15,7 +15,7 @@ import { IExtentionType, IItemProperty, IQuestionnaireItemType } from '../../typ
import { updateItemAction } from '../../store/treeStore/treeActions';
import { isRecipientList } from '../../helpers/QuestionHelper';
import { createMarkdownExtension, removeItemExtension, setItemExtension, hasExtension } from '../../helpers/extensionHelper';
-import { isItemControlInline, isItemControlReceiverComponent, isItemControlHighlight } from '../../helpers/itemControl';
+import { isItemControlInline, isItemControlHighlight } from '../../helpers/itemControl';
import Accordion from '../Accordion/Accordion';
import { ActionType } from '../../store/treeStore/treeStore';
@@ -36,7 +36,6 @@ import { ValidationErrors } from '../../helpers/orphanValidation';
import {
canTypeBeRequired,
canTypeBeValidated,
- canTypeHaveSublabel,
getItemDisplayType,
} from '../../helpers/questionTypeFeatures';
import SliderSettings from './SliderSettings/SliderSettings';
@@ -54,7 +53,7 @@ interface QuestionProps {
const Question = (props: QuestionProps): JSX.Element => {
const { t } = useTranslation();
- const [isMarkdownActivated, setIsMarkdownActivated] = React.useState(!!props.item._text);
+ const [isMarkdownActivated] = React.useState(!!props.item._text);
const codeElements = props.item.code ? `(${props.item.code.length})` : '(0)';
// eslint-disable-next-line @typescript-eslint/no-var-requires
const removeMd = require('remove-markdown');
@@ -75,10 +74,6 @@ const Question = (props: QuestionProps): JSX.Element => {
return labelText || props.item.text || '';
};
- const getSublabelText = (): string => {
- return props.item.extension?.find((x) => x.url === IExtentionType.sublabel)?.valueMarkdown || '';
- };
-
const convertToPlaintext = (stringToBeConverted: string) => {
let plainText = removeMd(stringToBeConverted);
plainText = plainText.replaceAll('\\*', '*');
diff --git a/src/components/Question/QuestionType/Choice.tsx b/src/components/Question/QuestionType/Choice.tsx
index a64b452..52e23f8 100644
--- a/src/components/Question/QuestionType/Choice.tsx
+++ b/src/components/Question/QuestionType/Choice.tsx
@@ -21,7 +21,7 @@ import SwitchBtn from '../../SwitchBtn/SwitchBtn';
import { createUriUUID } from '../../../helpers/uriHelper';
import DraggableAnswerOptions from '../../AnswerOption/DraggableAnswerOptions';
import PredefinedValueSets from './PredefinedValueSets';
-import { ItemControlType, isItemControlCheckbox, isItemControlDropDown } from '../../../helpers/itemControl';
+import { ItemControlType, isItemControlCheckbox } from '../../../helpers/itemControl';
import { checkboxExtension } from '../../../helpers/QuestionHelper';
type Props = {