From 0f1edf9b40c31f009a65b4e36d901be06599caa3 Mon Sep 17 00:00:00 2001 From: Nikolaj Frey Date: Tue, 15 Aug 2023 15:47:10 +1000 Subject: [PATCH] feat: feature/mvp-sprint-1 --- remix/app/Providers/ThingtimeProvider.tsx | 48 +++++++++++------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/remix/app/Providers/ThingtimeProvider.tsx b/remix/app/Providers/ThingtimeProvider.tsx index 3e5ce8b..6f7d506 100644 --- a/remix/app/Providers/ThingtimeProvider.tsx +++ b/remix/app/Providers/ThingtimeProvider.tsx @@ -151,20 +151,20 @@ export const ThingtimeProvider = (props: any): JSX.Element => { // nothing } // if last undoHistory does not equal new undo history - console.log( - "ThingtimeProvider saving to undo history undoHistory[undoHistory.length - 1]?.value", - undoHistory[undoHistory.length - 1]?.value - ) - console.log( - "ThingtimeProvider saving to undo history stringified", - stringified - ) + // console.log( + // "ThingtimeProvider saving to undo history undoHistory[undoHistory.length - 1]?.value", + // undoHistory[undoHistory.length - 1]?.value + // ) + // console.log( + // "ThingtimeProvider saving to undo history stringified", + // stringified + // ) if (undoHistory[undoHistory.length - 1]?.value !== stringified) { try { - console.log( - "ThingtimeProvider saving to undo history undoHistory", - undoHistory - ) + // console.log( + // "ThingtimeProvider saving to undo history undoHistory", + // undoHistory + // ) const limit = newThingtimeReference?.settings?.undoLimit || 999 if (undoHistory?.length > limit) { @@ -206,20 +206,20 @@ export const ThingtimeProvider = (props: any): JSX.Element => { // nothing } // if last redoHistory does not equal new redo history - console.log( - "ThingtimeProvider saving to redo history redoHistory[redoHistory.length - 1]?.value", - redoHistory[redoHistory.length - 1]?.value - ) - console.log( - "ThingtimeProvider saving to redo history stringified", - stringified - ) + // console.log( + // "ThingtimeProvider saving to redo history redoHistory[redoHistory.length - 1]?.value", + // redoHistory[redoHistory.length - 1]?.value + // ) + // console.log( + // "ThingtimeProvider saving to redo history stringified", + // stringified + // ) if (redoHistory[redoHistory.length - 1]?.value !== stringified) { try { - console.log( - "ThingtimeProvider saving to redo history redoHistory", - redoHistory - ) + // console.log( + // "ThingtimeProvider saving to redo history redoHistory", + // redoHistory + // ) const limit = newThingtimeReference?.settings?.redoLimit || 999 if (redoHistory?.length > limit) {