update publish modal styling #1211
This commit is contained in:
parent
1866acc612
commit
460325d9e8
2 changed files with 6 additions and 12 deletions
|
@ -1,21 +1,17 @@
|
|||
// @flow
|
||||
import * as React from 'react';
|
||||
import lbry from 'lbry';
|
||||
import { isNameValid, buildURI, regexInvalidURI, parseURI } from 'lbryURI';
|
||||
import { isNameValid, buildURI, regexInvalidURI } from 'lbryURI';
|
||||
import { Form, FormField, FormRow, FormFieldPrice, Submit } from 'component/common/form';
|
||||
import Button from 'component/button';
|
||||
import Modal from 'modal/modal';
|
||||
import ChannelSection from 'component/selectChannel';
|
||||
import Icon from 'component/common/icon';
|
||||
import classnames from 'classnames';
|
||||
import type { PublishParams, UpdatePublishFormData } from 'redux/reducers/publish';
|
||||
import FileSelector from 'component/common/file-selector';
|
||||
import { COPYRIGHT, OTHER } from 'constants/licenses';
|
||||
import { CHANNEL_NEW, CHANNEL_ANONYMOUS, MINIMUM_PUBLISH_BID } from 'constants/claim';
|
||||
import * as icons from 'constants/icons';
|
||||
import BidHelpText from './internal/bid-help-text';
|
||||
import LicenseType from './internal/license-type';
|
||||
import { COPYRIGHT, OTHER } from 'constants/licenses';
|
||||
import { MINIMUM_PUBLISH_BID } from 'constants/claim';
|
||||
import { CHANNEL_NEW, CHANNEL_ANONYMOUS } from 'constants/claim';
|
||||
import * as icons from 'constants/icons';
|
||||
|
||||
type Props = {
|
||||
publish: PublishParams => void,
|
||||
|
@ -292,7 +288,6 @@ class PublishForm extends React.PureComponent<Props> {
|
|||
submitLabel = !publishing ? __('Publish') : __('Publishing...');
|
||||
}
|
||||
|
||||
console.log('this.props', this.props);
|
||||
return (
|
||||
<Form onSubmit={this.handlePublish}>
|
||||
<section className={classnames('card card--section')}>
|
||||
|
|
|
@ -23,9 +23,8 @@ class ModalSendTip extends React.PureComponent<Props> {
|
|||
closeModal();
|
||||
}}
|
||||
>
|
||||
<p>
|
||||
{__('Your file has been published to LBRY at the address')} <code>{uri}</code>!
|
||||
</p>
|
||||
<p>{__('Your file has been published to LBRY at the address')}</p>
|
||||
<p className="card__success-msg">{uri}</p>
|
||||
<p>
|
||||
{__(
|
||||
'The file will take a few minutes to appear for other LBRY users. Until then it will be listed as "pending" under your published files.'
|
||||
|
|
Loading…
Add table
Reference in a new issue