Remove bottom-ad for now
- Light theme issues
This commit is contained in:
parent
c66f597f09
commit
c71c8e1cd0
2 changed files with 1 additions and 13 deletions
|
@ -8,13 +8,7 @@ import {
|
|||
} from 'redux/selectors/sync';
|
||||
import { doUserSetReferrer } from 'redux/actions/user';
|
||||
import { doSetLastViewedAnnouncement } from 'redux/actions/content';
|
||||
import {
|
||||
selectOdyseeMembershipIsPremiumPlus,
|
||||
selectUser,
|
||||
selectUserLocale,
|
||||
selectUserVerifiedEmail,
|
||||
selectHomepageFetched,
|
||||
} from 'redux/selectors/user';
|
||||
import { selectUser, selectUserLocale, selectUserVerifiedEmail, selectHomepageFetched } from 'redux/selectors/user';
|
||||
import { selectUnclaimedRewards } from 'redux/selectors/rewards';
|
||||
import { doFetchChannelListMine, doFetchCollectionListMine } from 'redux/actions/claims';
|
||||
import { selectMyChannelClaimIds } from 'redux/selectors/claims';
|
||||
|
@ -49,7 +43,6 @@ const select = (state) => ({
|
|||
syncFatalError: selectSyncFatalError(state),
|
||||
activeChannelClaim: selectActiveChannelClaim(state),
|
||||
myChannelClaimIds: selectMyChannelClaimIds(state),
|
||||
hasPremiumPlus: selectOdyseeMembershipIsPremiumPlus(state),
|
||||
homepageFetched: selectHomepageFetched(state),
|
||||
defaultChannelClaim: selectDefaultChannelClaim(state),
|
||||
});
|
||||
|
|
|
@ -14,7 +14,6 @@ import useKonamiListener from 'util/enhanced-layout';
|
|||
import Yrbl from 'component/yrbl';
|
||||
import FileRenderFloating from 'component/fileRenderFloating';
|
||||
import { withRouter } from 'react-router';
|
||||
import useAdOutbrain from 'effects/use-ad-outbrain';
|
||||
import usePrevious from 'effects/use-previous';
|
||||
import Nag from 'component/common/nag';
|
||||
import REWARDS from 'rewards';
|
||||
|
@ -83,7 +82,6 @@ type Props = {
|
|||
syncFatalError: boolean,
|
||||
activeChannelClaim: ?ChannelClaim,
|
||||
myChannelClaimIds: ?Array<string>,
|
||||
hasPremiumPlus: ?boolean,
|
||||
setIncognito: (boolean) => void,
|
||||
fetchModBlockedList: () => void,
|
||||
fetchModAmIList: () => void,
|
||||
|
@ -122,7 +120,6 @@ function App(props: Props) {
|
|||
activeChannelClaim,
|
||||
setIncognito,
|
||||
fetchModBlockedList,
|
||||
hasPremiumPlus,
|
||||
fetchModAmIList,
|
||||
homepageFetched,
|
||||
defaultChannelClaim,
|
||||
|
@ -509,8 +506,6 @@ function App(props: Props) {
|
|||
|
||||
useDegradedPerformance(setLbryTvApiStatus, user);
|
||||
|
||||
useAdOutbrain(hasPremiumPlus, isAuthenticated, history?.location?.pathname);
|
||||
|
||||
useEffect(() => {
|
||||
// When language is changed or translations are fetched, we render.
|
||||
setLangRenderKey(Date.now());
|
||||
|
|
Loading…
Reference in a new issue