feat: header logo reloads at "/"
This commit is contained in:
parent
e6a044d8e1
commit
5b58a46ebd
1 changed files with 3 additions and 1 deletions
|
@ -133,7 +133,9 @@ const Header = (props: Props) => {
|
|||
className="header__navigation-item header__navigation-item--lbry header__navigation-item--button-mobile"
|
||||
label={__('LBRY')}
|
||||
icon={ICONS.LBRY}
|
||||
onClick={() => window.scrollTo(0, 0)}
|
||||
onClick={() => {
|
||||
if (history.location.pathname === '/') window.location.reload();
|
||||
}}
|
||||
{...homeButtonNavigationProps}
|
||||
/>
|
||||
|
||||
|
|
Loading…
Reference in a new issue