aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/TaskBox.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/TaskBox.tsx')
-rw-r--r--src/client/views/nodes/TaskBox.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/nodes/TaskBox.tsx b/src/client/views/nodes/TaskBox.tsx
index f415f8b52..ed5982c55 100644
--- a/src/client/views/nodes/TaskBox.tsx
+++ b/src/client/views/nodes/TaskBox.tsx
@@ -286,7 +286,7 @@ export class TaskBox extends ViewBoxBaseComponent<FieldViewProps>() {
const listener = () => {
window.removeEventListener('focusin', listener);
if (confirm('✅ Authorization complete. Try syncing the task again?')) {
- // you could refactor the click handler here
+ // try syncing again
this.syncWithGoogleTaskBidirectional();
}
window.removeEventListener('focusin', listener);
@@ -498,7 +498,6 @@ export class TaskBox extends ViewBoxBaseComponent<FieldViewProps>() {
this._widthDisposer?.();
}
-
/**
* Method to handle task deletion
* @returns - a promise that resolves when the task is deleted
@@ -560,7 +559,6 @@ export class TaskBox extends ViewBoxBaseComponent<FieldViewProps>() {
const endTime = DateCast(doc.$task_endTime) ? toLocalDateTimeString(DateCast(doc.$task_endTime)!.date) : '';
const handleGoogleTaskSync = async () => {
- console.log('GT button clicked');
const success = await this.syncWithGoogleTaskBidirectional();
if (success) {