Skip to content

Commit

Permalink
app - don't log the computation-expensive logs in production
Browse files Browse the repository at this point in the history
  • Loading branch information
lakesare committed Oct 19, 2023
1 parent 7ee5450 commit e56b045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/services/updateUI/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let lastValidStatement: string | null;
const updateUI = (editor: Editor, oldProof: ProofResponse, newProof: ProofResponse, uiConfig: UIConfig) => {
editor.updateInstanceState({ isReadonly: false });

console.table({ oldProof: getLoggableProof(oldProof), newProof: getLoggableProof(newProof) });
// console.table({ oldProof: getLoggableProof(oldProof), newProof: getLoggableProof(newProof) });

const isNewProofEmpty = !newProof || "error" in newProof;
const isOldProofEmpty = !oldProof || "error" in oldProof;
Expand Down

0 comments on commit e56b045

Please sign in to comment.