mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-19 02:10:33 -05:00
fix: editor crashing (#1582)
This commit is contained in:
committed by
GitHub
parent
f2d23d9a37
commit
9d0b6cec76
@@ -58,7 +58,7 @@ export default function ProgressBar({ survey, questionId, brandColor }: Progress
|
||||
updatedProgress = progress + PROGRESS_INCREMENT;
|
||||
}
|
||||
|
||||
setProgress(calculateProgress(questionId, survey, progress));
|
||||
setPrevQuestionIdx(currentQustionIdx);
|
||||
return updatedProgress;
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
|
||||
Reference in New Issue
Block a user