lbry-desktop/ui/page/channelNew/view.jsx
jessop d9bf72a351 all settings constants come from redux
sync settings

backout nav cases and anon preference key

more robust backout header

put notificationSettings under backout bar

review changes
2020-07-27 11:53:14 -04:00

21 lines
589 B
JavaScript

// @flow
import React from 'react';
import ChannelEdit from 'component/channelEdit';
import Page from 'component/page';
import { withRouter } from 'react-router';
import * as PAGES from 'constants/pages';
type Props = {
history: { push: string => void, goBack: () => void },
};
function ChannelNew(props: Props) {
const { history } = props;
return (
<Page noSideNavigation backout={{ title: __('Create Channel') }} className="main--auth-page">
<ChannelEdit onDone={() => history.push(`/$/${PAGES.CHANNELS}`)} />
</Page>
);
}
export default withRouter(ChannelNew);