fix typo #2127

Merged
neb-b merged 1 commit from typo into master 2018-11-29 06:13:59 +01:00
2 changed files with 4 additions and 7 deletions

View file

@ -98,10 +98,7 @@ class ChannelPage extends React.PureComponent<Props> {
icon={ICONS.GLOBE}
label={__('Share Channel')}
onClick={() =>
openModal(
{ id: MODALS.SOCIAL_SHARE },
{ uri, speechShareable: true, isChannel: true }
)
openModal(MODALS.SOCIAL_SHARE, { uri, speechShareable: true, isChannel: true })
}
/>
</div>

View file

@ -16,7 +16,7 @@ import {
creditsToString,
selectPendingById,
selectMyClaimsWithoutChannels,
doError
doError,
} from 'lbry-redux';
import { doOpenModal } from 'redux/actions/app';
import { selectosNotificationsEnabled } from 'redux/selectors/settings';
@ -99,7 +99,7 @@ export const doUploadThumbnail = (filePath: string, nsfw: boolean) => (
type: ACTIONS.UPDATE_PUBLISH_FORM,
data: { uploadThumbnailStatus: THUMBNAIL_STATUSES.API_DOWN },
},
dispatch(doOpenModal({ id: MODALS.ERROR, error }))
dispatch(doOpenModal(MODALS.ERROR, { error }))
)
);
@ -298,7 +298,7 @@ export const doPublish = (params: PublishParams) => (
const failure = error => {
dispatch({ type: ACTIONS.PUBLISH_FAIL });
dispatch(doError(error.message))
dispatch(doError(error.message));
};
return Lbry.publish(publishPayload).then(success, failure);