mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-26 15:39:00 -05:00
are you sure modal missing fix:#1419 (#1485)
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ export default function SurveyEditor({
|
||||
|
||||
useEffect(() => {
|
||||
if (survey) {
|
||||
setLocalSurvey(survey);
|
||||
setLocalSurvey(JSON.parse(JSON.stringify(survey)));
|
||||
|
||||
if (survey.questions.length > 0) {
|
||||
setActiveQuestionId(survey.questions[0].id);
|
||||
|
||||
Reference in New Issue
Block a user