fixed push on button NakhodkaLanding on sideBar

This commit is contained in:
SlimusMinus
2026-10-12 00:27:48 +03:00
parent 16a55c95c0
commit 89fdef31cc
5 changed files with 3 additions and 6 deletions

View File

@@ -21,7 +21,6 @@ export default function Sidebar({
activeNav,
onClose,
onNavClick,
onLogoClick,
isAuthenticated,
onLoginClick,
onRulesClick,
@@ -80,7 +79,7 @@ export default function Sidebar({
type="button"
className="f-sb-logo-btn"
onClick={() => {
onLogoClick?.();
navigate("/");
onClose();
}}
title={t('nav.home')}