fixes channel edit cancel #2961

This commit is contained in:
Jeremy Kauffman 2019-10-03 14:49:07 -04:00 committed by Sean Yesmunt
parent a96ff9eb1a
commit cee602f49e
2 changed files with 6 additions and 3 deletions

View file

@ -4,6 +4,7 @@ import { Form, FormField } from 'component/common/form';
import Button from 'component/button';
import SelectAsset from 'component/selectAsset';
import TagSelect from 'component/tagsSelect';
import * as PAGES from 'constants/pages';
type Props = {
claim: ChannelClaim,
@ -202,7 +203,7 @@ function ChannelForm(props: Props) {
/>
<div className={'card__actions'}>
<Button button="primary" label={__('Submit')} type="submit" />
<Button button="link" label={__('Cancel')} />
<Button button="link" label={__('Cancel')} navigate={`$/${PAGES.CHANNELS}`} />
</div>
</Form>
</section>

View file

@ -730,5 +730,7 @@
"Live help is available most hours in the %channel% channel of our Discord chat room. Or you can always email us at help@lbry.com.": "Live help is available most hours in the %channel% channel of our Discord chat room. Or you can always email us at help@lbry.com.",
"Your LBRY credits are controllable by you and only you, via a wallet file stored locally on your computer.": "Your LBRY credits are controllable by you and only you, via a wallet file stored locally on your computer.",
"However, it is easy to back up manually. To backup your wallet, make a copy of the folder listed below:": "However, it is easy to back up manually. To backup your wallet, make a copy of the folder listed below:",
"Access to these files are equivalent to having access to your credits. Keep any copies you make of your wallet in a secure place. For more details on backing up and best practices %helpLink%.": "Access to these files are equivalent to having access to your credits. Keep any copies you make of your wallet in a secure place. For more details on backing up and best practices %helpLink%."
"Access to these files are equivalent to having access to your credits. Keep any copies you make of your wallet in a secure place. For more details on backing up and best practices %helpLink%.": "Access to these files are equivalent to having access to your credits. Keep any copies you make of your wallet in a secure place. For more details on backing up and best practices %helpLink%.",
"Your Channels": "Your Channels",
"Add Tags": "Add Tags"
}