Skip to content

fix: missing Trash2 import causing runtime crash on bulk delete in Tasks.jsx#775

Open
Codewithpabitra wants to merge 2 commits into
aryandas2911:mainfrom
Codewithpabitra:add-trash2-icon
Open

fix: missing Trash2 import causing runtime crash on bulk delete in Tasks.jsx#775
Codewithpabitra wants to merge 2 commits into
aryandas2911:mainfrom
Codewithpabitra:add-trash2-icon

Conversation

@Codewithpabitra
Copy link
Copy Markdown
Contributor

📌 Description

Fixed a runtime crash on the Tasks page caused by a missing Trash2 icon import. The bulk delete button uses <Trash2 /> from lucide-react but it was never imported, so selecting tasks and clicking the delete button would throw a ReferenceError and break the page entirely.

🔗 Related Issue

Closes #772

🛠 Changes Made

  • Added Trash2 to the existing lucide-react import in frontend/src/pages/Tasks.jsx
  • No logic, UI, or behavior changes - purely a missing import fix

✅ Checklist

  • Code runs locally
  • Followed project structure
  • No console errors
  • Properly tested changes
  • Linked the issue

🚀 Notes for Reviewers

One-line change - just adding Trash2 to the lucide-react import.

@Codewithpabitra
Copy link
Copy Markdown
Contributor Author

This was a very minimal change made issue that's why simply created the PR.

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.

[Bug] Runtime crash on Tasks page when bulk delete button renders

1 participant