Make city clicks update homepage focus

This commit is contained in:
2569718930@qq.com
2026-04-22 23:24:20 +08:00
parent 786e9bba99
commit 4bab7d1138
4 changed files with 14 additions and 3 deletions
@@ -251,7 +251,7 @@ export function CitySidebar() {
className={clsx("city-item", isActive && "active")}
onClick={() =>
startTransition(() => {
void store.selectCity(city.name);
void store.focusCity(city.name);
})
}
>