Dec '24 (edited) • Help
Filter for todo in react not working
Hey everyone! I've been working on the todo app and i can't seem to understand why some code isn't working... I'm trying to make it filter by priority or complexity but it seems to only be able to do it in ascending order... Some help would be nice.
Here's all of the code if you wanted to look there: https://codesandbox.io/p/sandbox/todo-app-qlnlr4
edit: i just noticed i need to use === not = in the sortBy function. I think i'm tired.
9
6 comments
Benjamin Bruington
4
Filter for todo in react not working
Developer Pro
skool.com/developerpro
Learn how to code. Make money. Have fun. Enjoy life.
Leaderboard (30-day)
Powered by