navheader-fix

This commit is contained in:
Untone 2024-07-03 10:03:48 +03:00
parent e1275b76ea
commit 5711b26644
2 changed files with 2 additions and 4 deletions

View File

@ -201,7 +201,6 @@ export const Header = (props: Props) => {
</Show> </Show>
<div class={clsx(styles.mainNavigation, { [styles.fixed]: fixed() })}> <div class={clsx(styles.mainNavigation, { [styles.fixed]: fixed() })}>
<ul class="view-switcher"> <ul class="view-switcher">
<For each={['', 'feed', 'topics', 'authors', 'guide']}> <For each={['', 'feed', 'topics', 'authors', 'guide']}>
{(route: string) => ( {(route: string) => (
<li classList={{ 'view-switcher__item--selected': route === loc.pathname }}> <li classList={{ 'view-switcher__item--selected': route === loc.pathname }}>

View File

@ -1 +0,0 @@