From cbde7b904c64028bb0b2bce7b8295ac3bcc74141 Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Tue, 19 Oct 2021 09:51:00 +0800 Subject: [PATCH] Remove test function I assume this was a temp function. --- extras/lbryinc/index.js | 15 ++------------- ui/index.jsx | 4 +--- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/extras/lbryinc/index.js b/extras/lbryinc/index.js index b68d006e6..9216aa651 100644 --- a/extras/lbryinc/index.js +++ b/extras/lbryinc/index.js @@ -5,10 +5,6 @@ import Lbryio from './lbryio'; export { Lbryio }; -export function testTheThing() { - console.log('tested'); -} - // constants export { LBRYINC_ACTIONS, YOUTUBE_STATUSES, ERRORS }; @@ -51,10 +47,7 @@ export { selectAllCostInfoByUri, selectFetchingCostInfo, } from './redux/selectors/cost_info'; -export { - selectBlackListedOutpoints, - selectBlacklistedOutpointMap, -} from './redux/selectors/blacklist'; +export { selectBlackListedOutpoints, selectBlacklistedOutpointMap } from './redux/selectors/blacklist'; export { selectFilteredOutpoints, selectFilteredOutpointMap } from './redux/selectors/filtered'; // export { // selectFeaturedUris, @@ -62,11 +55,7 @@ export { selectFilteredOutpoints, selectFilteredOutpointMap } from './redux/sele // selectTrendingUris, // selectFetchingTrendingUris, // } from './redux/selectors/homepage'; -export { - selectViewCount, - makeSelectViewCountForUri, - makeSelectSubCountForUri, -} from './redux/selectors/stats'; +export { selectViewCount, makeSelectViewCountForUri, makeSelectSubCountForUri } from './redux/selectors/stats'; export { selectHasSyncedWallet, selectSyncData, diff --git a/ui/index.jsx b/ui/index.jsx index b723d3a74..4fe93fdcd 100644 --- a/ui/index.jsx +++ b/ui/index.jsx @@ -19,7 +19,7 @@ import Lbry, { apiCall } from 'lbry'; import { isURIValid } from 'util/lbryURI'; import { setSearchApi } from 'redux/actions/search'; import { doSetLanguage, doFetchLanguage, doUpdateIsNightAsync } from 'redux/actions/settings'; -import { Lbryio, doBlackListedOutpointsSubscribe, doFilteredOutpointsSubscribe, testTheThing } from 'lbryinc'; +import { Lbryio, doBlackListedOutpointsSubscribe, doFilteredOutpointsSubscribe } from 'lbryinc'; import rewards from 'rewards'; import { store, persistor, history } from 'store'; import app from './app'; @@ -65,8 +65,6 @@ if (process.env.NODE_ENV === 'production') { }); } -testTheThing(); - if (process.env.SDK_API_URL) { console.warn('SDK_API_URL env var is deprecated. Use SDK_API_HOST instead'); // @eslint-disable-line }