diff --git a/src/features/surveys/features/SurveyCreator/components/ActionButtons/ActionButtons.tsx b/src/features/surveys/features/SurveyCreator/components/ActionButtons/ActionButtons.tsx index b26910c3..0cafd667 100644 --- a/src/features/surveys/features/SurveyCreator/components/ActionButtons/ActionButtons.tsx +++ b/src/features/surveys/features/SurveyCreator/components/ActionButtons/ActionButtons.tsx @@ -23,7 +23,7 @@ export default function ActionButtons() { } = useSurveyCreatorContext(); return ( -
+
{questions.length < MAX_QUESTIONS && !isEditMode && ( )} diff --git a/src/features/surveys/features/SurveyCreator/components/AddQuestionButton/AddQuestionButton.tsx b/src/features/surveys/features/SurveyCreator/components/AddQuestionButton/AddQuestionButton.tsx index 1e030814..e8e2646a 100644 --- a/src/features/surveys/features/SurveyCreator/components/AddQuestionButton/AddQuestionButton.tsx +++ b/src/features/surveys/features/SurveyCreator/components/AddQuestionButton/AddQuestionButton.tsx @@ -1,8 +1,5 @@ import { PlusCircleIcon } from '@heroicons/react/outline'; -import Button, { - ButtonSize, - ButtonVariant, -} from 'shared/components/Button/Button'; +import Button, { ButtonSize } from 'shared/components/Button/Button'; import NewQuestionModal from 'features/surveys/features/SurveyCreator/components/NewQuestionModal/NewQuestionModal'; import useModal from 'features/surveys/hooks/useModal'; import { DraftQuestion } from 'features/surveys/features/SurveyCreator/managers/createSurveyManager/createSurveyManager'; @@ -14,14 +11,13 @@ interface AddQuestionButtonProps { export const AddQuestionButton = ({ onClick }: AddQuestionButtonProps) => { const { closeModal, isModalOpen, openModal } = useModal(); return ( -
+
- + {onEmoteRemove && (