Skip to content

Commit

Permalink
Decrease auto save interval to 5 seconds after change (#2301)
Browse files Browse the repository at this point in the history
  • Loading branch information
jadmsaadaot authored Oct 6, 2023
1 parent 552ba91 commit 13b6b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion met-web/src/components/survey/building/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const SurveyFormBuilder = () => {
const [isTemplateSurvey, setIsTemplateSurvey] = useState(savedSurvey ? savedSurvey.is_template : false);

const [autoSaveNotificationOpen, setAutoSaveNotificationOpen] = useState(false);
const AUTO_SAVE_INTERVAL = 60000;
const AUTO_SAVE_INTERVAL = 5000;

useEffect(() => {
loadSurvey();
Expand Down

0 comments on commit 13b6b46

Please sign in to comment.