scroll to top when clicking home
This commit is contained in:
parent
0094f20190
commit
2bf7dc93ad
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ const Header = (props: Props) => {
|
||||||
className="header__navigation-item header__navigation-item--lbry"
|
className="header__navigation-item header__navigation-item--lbry"
|
||||||
label={__('LBRY')}
|
label={__('LBRY')}
|
||||||
icon={ICONS.LBRY}
|
icon={ICONS.LBRY}
|
||||||
|
onClick={() => window.scrollTo(0, 0)}
|
||||||
{...homeButtonNavigationProps}
|
{...homeButtonNavigationProps}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue