Fix active category chip state on Blogs page filtering#3015
Fix active category chip state on Blogs page filtering#3015singhvibhanshu wants to merge 1 commit into
Conversation
Signed-off-by: singhvibhanshu <singhvibhanshu@hotmail.com>
Greptile SummaryThis PR fixes a stale active-chip UI bug on the Blog page where the selected category indicator would not update after browser back/forward navigation or direct URL changes, because
Confidence Score: 5/5Safe to merge — the change is a four-line, isolated addition with no side effects on other page functionality. The fix is minimal and directly targets the root cause: selectedCategory was initialised once at component creation and never updated when the URL changed. Using $effect is the idiomatic Svelte 5 solution. The Clear search path, pagination, and search handlers are all unaffected. No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "fix(blog): update active category chip U..." | Re-trigger Greptile |
Fixes #3007