diff --git a/ui/component/channelEdit/index.js b/ui/component/channelEdit/index.js index d5dc8fc80..e40609668 100644 --- a/ui/component/channelEdit/index.js +++ b/ui/component/channelEdit/index.js @@ -30,7 +30,4 @@ const perform = dispatch => ({ updateChannel: params => dispatch(doUpdateChannel(params)), }); -export default connect( - select, - perform -)(ChannelPage); +export default connect(select, perform)(ChannelPage); diff --git a/ui/component/channelEdit/view.jsx b/ui/component/channelEdit/view.jsx index f232d46a4..f950b81ff 100644 --- a/ui/component/channelEdit/view.jsx +++ b/ui/component/channelEdit/view.jsx @@ -103,6 +103,7 @@ function ChannelForm(props: Props) { updateChannel(params); setEditing(false); }; + // TODO clear and bail after submit return (
@@ -176,7 +177,7 @@ function ChannelForm(props: Props) { { diff --git a/ui/page/channel/view.jsx b/ui/page/channel/view.jsx index 32ea95e51..56d128a54 100644 --- a/ui/page/channel/view.jsx +++ b/ui/page/channel/view.jsx @@ -237,7 +237,13 @@ function ChannelPage(props: Props) { )}

{title || '@' + channelName}

{channelIsMine && !editing && ( -