feat: add nav menu haptic feedback
All checks were successful
Deploy to VPS (dist) / deploy (push) Successful in 1m35s

This commit is contained in:
Hewston Fox
2026-03-21 02:59:42 +02:00
parent a804f3c280
commit c9f76779db

View File

@@ -215,7 +215,10 @@ export default function Navigation() {
entranceDelay={HORIZONTAL_ENTRANCE_DELAYS[index]}
onClick={
item.isMenu
? () => setMenuOpen((v) => (v ? 0 : Math.random()))
? () => {
tg.hapticFeedback.click();
setMenuOpen((v) => (v ? 0 : Math.random()));
}
: active
? () => {}
: () => navigateRoute(item.route!)