This commit is contained in:
zeppi 2021-10-12 15:39:49 -04:00 committed by jessopb
parent ee9f63a161
commit 5088caef1e
4 changed files with 2 additions and 3 deletions

View file

@ -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';

View file

@ -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';

View file

@ -23,7 +23,7 @@ import {
import {
doFetchItemsInCollection,
doCollectionDelete,
doCollectionEdit
doCollectionEdit,
} from 'redux/actions/collections';
import { selectUser } from 'redux/selectors/user';

View file

@ -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') {