Skip to content

Commit

Permalink
fix: remove debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
Grafikart committed Sep 2, 2024
1 parent 6586b40 commit c278fa3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/service/survey-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -882,11 +882,6 @@ const saveData = (
"stateDataForced parameter was removed, put state data inside the data object instead",
);
}
if (data.stateData?.state !== "COMPLETED" && idSurvey === "DEMO1302") {
// eslint-disable-next-line no-debugger
debugger;
return Promise.resolve(data);
}
data.lastLocalSaveDate = navigator.onLine ? Date.now() : Date.now() + 1;
if (!data.houseReference) {
const regexp = new RegExp(process.env.REACT_APP_HOUSE_REFERENCE_REGULAR_EXPRESSION || "");
Expand Down

0 comments on commit c278fa3

Please sign in to comment.