Skip to content

Commit 05107d4

Browse files
committed
fixed build error
1 parent 2b84e7a commit 05107d4

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

frontend-next-migration/src/widgets/Navbar/ui/NavbarMobileV2/NavbarMobile.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { NavMenu, INavMenuItem, NavMenuItemType } from '@/shared/ui/NavMenu';
1313
import { ItemType, NavbarBuild } from '../../model/types';
1414
import cls from './NavbarMobile.module.scss';
1515
import { LoginForm } from '@/features/AuthByUsername';
16+
import { getRouteComingSoonPage, getRouteLoginPage } from '@/shared/appLinks/RoutePaths';
1617

1718
enum DropdownTypes {
1819
EMPTY = 'EMPTY',
@@ -156,10 +157,7 @@ const NavbarTouchComponent = (props: NavbarTouchProps) => {
156157
/>
157158
),
158159
[DropdownTypes.AUTH]: (
159-
<div
160-
data-testid="mobile-navbar-profile"
161-
className={cls.authDropdownContent}
162-
>
160+
<div data-testid="mobile-navbar-profile">
163161
{permissionToLogin.isGranted ? (
164162
<AppLink
165163
to={getRouteLoginPage()}
@@ -182,9 +180,9 @@ const NavbarTouchComponent = (props: NavbarTouchProps) => {
182180
logout();
183181
}}
184182
>
185-
{tAuth('logout')}
183+
{t('logout')}
186184
</button>
187-
</div>
185+
</>
188186
) : null}
189187
</div>
190188
),

0 commit comments

Comments
 (0)