mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-22 11:29:22 -05:00
fix: duplicate image issue (#1920)
This commit is contained in:
committed by
GitHub
parent
542e4da878
commit
f91a7b2c7a
@@ -63,7 +63,7 @@ const QuestionFormInput = ({
|
||||
const fallbackInputRef = useRef<HTMLInputElement>(null);
|
||||
const inputRef = useRef<HTMLInputElement>(null);
|
||||
const [showImageUploader, setShowImageUploader] = useState<boolean>(
|
||||
questionId === "end" ? false : !!(question as TSurveyQuestion).imageUrl
|
||||
questionId === "end" ? false : !!(question as TSurveyQuestion).imageUrl && type === "headline"
|
||||
);
|
||||
const [showQuestionSelect, setShowQuestionSelect] = useState(false);
|
||||
const [showFallbackInput, setShowFallbackInput] = useState(false);
|
||||
|
||||
Reference in New Issue
Block a user