Remove bottom-ad for now

- Light theme issues
This commit is contained in:
infinite-persistence 2022-05-25 20:17:12 +08:00
parent c66f597f09
commit c71c8e1cd0
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0
2 changed files with 1 additions and 13 deletions

View file

@ -8,13 +8,7 @@ import {
} from 'redux/selectors/sync'; } from 'redux/selectors/sync';
import { doUserSetReferrer } from 'redux/actions/user'; import { doUserSetReferrer } from 'redux/actions/user';
import { doSetLastViewedAnnouncement } from 'redux/actions/content'; import { doSetLastViewedAnnouncement } from 'redux/actions/content';
import { import { selectUser, selectUserLocale, selectUserVerifiedEmail, selectHomepageFetched } from 'redux/selectors/user';
selectOdyseeMembershipIsPremiumPlus,
selectUser,
selectUserLocale,
selectUserVerifiedEmail,
selectHomepageFetched,
} from 'redux/selectors/user';
import { selectUnclaimedRewards } from 'redux/selectors/rewards'; import { selectUnclaimedRewards } from 'redux/selectors/rewards';
import { doFetchChannelListMine, doFetchCollectionListMine } from 'redux/actions/claims'; import { doFetchChannelListMine, doFetchCollectionListMine } from 'redux/actions/claims';
import { selectMyChannelClaimIds } from 'redux/selectors/claims'; import { selectMyChannelClaimIds } from 'redux/selectors/claims';
@ -49,7 +43,6 @@ const select = (state) => ({
syncFatalError: selectSyncFatalError(state), syncFatalError: selectSyncFatalError(state),
activeChannelClaim: selectActiveChannelClaim(state), activeChannelClaim: selectActiveChannelClaim(state),
myChannelClaimIds: selectMyChannelClaimIds(state), myChannelClaimIds: selectMyChannelClaimIds(state),
hasPremiumPlus: selectOdyseeMembershipIsPremiumPlus(state),
homepageFetched: selectHomepageFetched(state), homepageFetched: selectHomepageFetched(state),
defaultChannelClaim: selectDefaultChannelClaim(state), defaultChannelClaim: selectDefaultChannelClaim(state),
}); });

View file

@ -14,7 +14,6 @@ import useKonamiListener from 'util/enhanced-layout';
import Yrbl from 'component/yrbl'; import Yrbl from 'component/yrbl';
import FileRenderFloating from 'component/fileRenderFloating'; import FileRenderFloating from 'component/fileRenderFloating';
import { withRouter } from 'react-router'; import { withRouter } from 'react-router';
import useAdOutbrain from 'effects/use-ad-outbrain';
import usePrevious from 'effects/use-previous'; import usePrevious from 'effects/use-previous';
import Nag from 'component/common/nag'; import Nag from 'component/common/nag';
import REWARDS from 'rewards'; import REWARDS from 'rewards';
@ -83,7 +82,6 @@ type Props = {
syncFatalError: boolean, syncFatalError: boolean,
activeChannelClaim: ?ChannelClaim, activeChannelClaim: ?ChannelClaim,
myChannelClaimIds: ?Array<string>, myChannelClaimIds: ?Array<string>,
hasPremiumPlus: ?boolean,
setIncognito: (boolean) => void, setIncognito: (boolean) => void,
fetchModBlockedList: () => void, fetchModBlockedList: () => void,
fetchModAmIList: () => void, fetchModAmIList: () => void,
@ -122,7 +120,6 @@ function App(props: Props) {
activeChannelClaim, activeChannelClaim,
setIncognito, setIncognito,
fetchModBlockedList, fetchModBlockedList,
hasPremiumPlus,
fetchModAmIList, fetchModAmIList,
homepageFetched, homepageFetched,
defaultChannelClaim, defaultChannelClaim,
@ -509,8 +506,6 @@ function App(props: Props) {
useDegradedPerformance(setLbryTvApiStatus, user); useDegradedPerformance(setLbryTvApiStatus, user);
useAdOutbrain(hasPremiumPlus, isAuthenticated, history?.location?.pathname);
useEffect(() => { useEffect(() => {
// When language is changed or translations are fetched, we render. // When language is changed or translations are fetched, we render.
setLangRenderKey(Date.now()); setLangRenderKey(Date.now());