frontend: keep location.hash
between tab switches
This commit is contained in:
parent
04766fc515
commit
a95c1f6d4b
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ export function Tabs({ defaultLabel, labels, onChange }: Props) {
|
|||
return (
|
||||
<li className={classnames(classNames)}>
|
||||
<a
|
||||
href="#"
|
||||
href={location.hash}
|
||||
onClick={() => setActive(tab)}
|
||||
className="block p-2 text-smaller no-underline"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue