diff --git a/ui/component/header/view.jsx b/ui/component/header/view.jsx index ecba80983..5dc12ef76 100644 --- a/ui/component/header/view.jsx +++ b/ui/component/header/view.jsx @@ -251,6 +251,7 @@ const Header = (props: Props) => { aria-label={__('Home')} className="header__navigation-item header__navigation-item--lbry" onClick={() => { + // here use state.router.location.pathname if (history.location.pathname === '/') window.location.reload(); }} // @if TARGET='app' diff --git a/ui/modal/modalConfirmTransaction/index.js b/ui/modal/modalConfirmTransaction/index.js index 5a5493099..f366dc0f2 100644 --- a/ui/modal/modalConfirmTransaction/index.js +++ b/ui/modal/modalConfirmTransaction/index.js @@ -6,7 +6,7 @@ import ModalConfirmTransaction from './view'; import { selectActiveChannelClaim, selectIncognito } from 'redux/selectors/app'; const select = (state, props) => ({ - claim: selectClaimForUri(state, props.destination)(state), + claim: selectClaimForUri(state, props.destination), activeChannelClaim: selectActiveChannelClaim(state), incognito: selectIncognito(state), }); diff --git a/ui/redux/actions/content.js b/ui/redux/actions/content.js index f8d593082..d9d0938ba 100644 --- a/ui/redux/actions/content.js +++ b/ui/redux/actions/content.js @@ -221,7 +221,7 @@ export function doPlayUri( export function savePosition(uri: string, position: number) { return (dispatch: Dispatch, getState: () => any) => { const state = getState(); - const claim = selectClaimForUri(state, uri)(state); + const claim = selectClaimForUri(state, uri); const { claim_id: claimId, txid, nout } = claim; const outpoint = `${txid}:${nout}`;