Futa Arai 3 лет назад
Родитель
Сommit
7837d75491

+ 1 - 1
packages/app/src/client/services/guest-questionnaire-answer-status.ts

@@ -25,7 +25,7 @@ const getStorage = (): GuestQuestionnaireAnswerStatusStorage | null => {
     if (currentStorage) {
       const storageJson: GuestQuestionnaireAnswerStatusStorage = JSON.parse(currentStorage);
 
-      // delete status if outdated
+      // delete status if outdated to prevent localStorage expansion
       // change skipped to not_answered if different date than when skipped
       Object.keys(storageJson).forEach((key) => {
         const answerStatus = storageJson[key];