Merge pull request #2127 from lbryio/typo

fix typo
This commit is contained in:
Sean Yesmunt 2018-11-29 00:13:59 -05:00 committed by GitHub
commit 173d195ff2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 7 deletions

View file

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

View file

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