pelagia-portal/App
Hardik f1640c238a fix(items): auto-sort by distance when site selected or changed
useEffect keyed on currentSiteId resets sortBy to 'distance' whenever
the site selection changes, overcoming useState's one-time initialisation
which didn't fire on soft navigations (state preserved across router.push).

Verified with Playwright: no-site→price, select-site→distance auto,
manual price switch works, switch-site→distance resets.
2026-05-16 01:58:36 +05:30
..
pelagia-portal fix(items): auto-sort by distance when site selected or changed 2026-05-16 01:58:36 +05:30