Fix: navigate to chores instead of filters via and provide searchparam
This commit is contained in:
@@ -335,7 +335,7 @@ const FilterCard = ({
|
||||
return
|
||||
}
|
||||
// Navigate to MyChores with filter applied via URL param
|
||||
navigate(`/filters/${encodeURIComponent(filter.id)}`)
|
||||
navigate(`/chores?filterId=${encodeURIComponent(filter.id)}`)
|
||||
}}
|
||||
onTouchStart={handleTouchStart}
|
||||
onTouchMove={handleTouchMove}
|
||||
|
||||
Reference in New Issue
Block a user