diff --git a/ui/component/claimPreview/index.js b/ui/component/claimPreview/index.js index b99cabf4e..5e5cdd378 100644 --- a/ui/component/claimPreview/index.js +++ b/ui/component/claimPreview/index.js @@ -28,7 +28,6 @@ import { selectShowMatureContent } from 'redux/selectors/settings'; import { makeSelectHasVisitedUri } from 'redux/selectors/content'; import { makeSelectIsSubscribed } from 'redux/selectors/subscriptions'; import { selectModerationBlockList } from 'redux/selectors/comments'; -import { doFileGet } from 'redux/actions/file'; import ClaimPreview from './view'; import formatMediaDuration from 'util/formatMediaDuration'; diff --git a/ui/component/commentCreate/index.js b/ui/component/commentCreate/index.js index 21d1627dc..baa416468 100644 --- a/ui/component/commentCreate/index.js +++ b/ui/component/commentCreate/index.js @@ -4,6 +4,7 @@ import { makeSelectClaimIsMine, selectMyChannelClaims, selectFetchingMyChannels, + makeSelectTagInClaimOrChannelForUri, } from 'redux/selectors/claims'; import { doSendTip } from 'redux/actions/wallet'; import { doCommentCreate, doFetchCreatorSettings, doCommentById } from 'redux/actions/comments'; diff --git a/ui/page/collection/index.js b/ui/page/collection/index.js index 596a40d07..b6705e674 100644 --- a/ui/page/collection/index.js +++ b/ui/page/collection/index.js @@ -23,7 +23,7 @@ import { import { doFetchItemsInCollection, doCollectionDelete, - doCollectionEdit + doCollectionEdit, } from 'redux/actions/collections'; import { selectUser } from 'redux/selectors/user'; diff --git a/ui/redux/middleware/shared-state.js b/ui/redux/middleware/shared-state.js index 80117fa90..fe4d3c3a0 100644 --- a/ui/redux/middleware/shared-state.js +++ b/ui/redux/middleware/shared-state.js @@ -13,7 +13,6 @@ export const buildSharedStateMiddleware = ( ) => ({ getState, dispatch }: { getState: () => { user: any, settings: any }, dispatch: (any) => void }) => ( next: ({}) => void ) => (action: { type: string, data: any }) => { - const currentState = getState(); // We don't care if sync is disabled here, we always want to backup preferences to the wallet if (!actions.includes(action.type) || typeof action === 'function') {