Skip to content

fix : added removed alert call and debug console.log from useTasks hook - #1993

Open
tmdeveloper007 wants to merge 1 commit into
aryandas2911:mainfrom
tmdeveloper007:fix/1988-usetasks-cleanup
Open

fix : added removed alert call and debug console.log from useTasks hook#1993
tmdeveloper007 wants to merge 1 commit into
aryandas2911:mainfrom
tmdeveloper007:fix/1988-usetasks-cleanup

Conversation

@tmdeveloper007

Copy link
Copy Markdown

Summary of What Has Been Done

Removed alert() and debug console.log from the addTask function in useTasks.js. The function already re-throws the error for callers to handle.

Changes Made

  • Removed alert() call
  • Removed debug console.log statements

Impact it Made

Cleaner error handling; no blocking alerts; no debug artifacts.

Closes #1988

Note: Please assign this PR to the tmdeveloper007 account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix : remove alert call from useTasks hook addTask function

1 participant