Skip to content
Snippets Groups Projects
Commit 81fcf57d authored by chris's avatar chris
Browse files

rename question type to item type

parent 757a3b74
No related branches found
No related tags found
No related merge requests found
Pipeline #55307 passed with stages
in 3 minutes and 10 seconds
......@@ -122,13 +122,13 @@ const DropDownComponent = ({ view, tools }) => {
const [isOpen, setIsOpen] = useState(false);
useOnClickOutside(wrapperRef, () => setIsOpen(false));
const [label, setLabel] = useState('Question Type');
const [label, setLabel] = useState('Item Type');
const isEditable = main.props.editable(editable => {
return editable;
});
useEffect(() => {
setLabel('Question Type');
setLabel('Item Type');
dropDownOptions.forEach(option => {
if (option.item.active(main.state)) {
setLabel(option.label);
......@@ -213,7 +213,7 @@ const DropDownComponent = ({ view, tools }) => {
<span>{label}</span> <StyledIcon name="expand" />
</DropDownButton>
<DropDownMenu
aria-label="Choose a question type"
aria-label="Choose an item type"
id="questions-list"
isOpen={isOpen}
role="menu"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment