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"
|
||||
label={__('LBRY')}
|
||||
icon={ICONS.LBRY}
|
||||
onClick={() => window.scrollTo(0, 0)}
|
||||
{...homeButtonNavigationProps}
|
||||
/>
|
||||
|
||||
|
|
Loading…
Reference in a new issue