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 (
|
return (
|
||||||
<li className={classnames(classNames)}>
|
<li className={classnames(classNames)}>
|
||||||
<a
|
<a
|
||||||
href="#"
|
href={location.hash}
|
||||||
onClick={() => setActive(tab)}
|
onClick={() => setActive(tab)}
|
||||||
className="block p-2 text-smaller no-underline"
|
className="block p-2 text-smaller no-underline"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue