use backout mode on publish page

This commit is contained in:
Sean Yesmunt 2020-09-16 15:36:01 -04:00
parent 7d8277b4db
commit 23f218a568

View file

@ -20,7 +20,14 @@ function PublishPage(props: Props) {
}
return (
<Page>
<Page
noFooter
noSideNavigation
backout={{
title: __('Upload'),
backLabel: __('Back'),
}}
>
{balance === 0 && <YrblWalletEmpty />}
<PublishForm scrollToTop={scrollToTop} disabled={balance === 0} />
</Page>