{
return {
diff --git a/react/containers/ChannelSelect/view.jsx b/react/containers/ChannelSelect/view.jsx
index a6fa340a..3042895d 100644
--- a/react/containers/ChannelSelect/view.jsx
+++ b/react/containers/ChannelSelect/view.jsx
@@ -1,7 +1,7 @@
import React from 'react';
import ChannelLoginForm from 'containers/ChannelLoginForm';
import ChannelCreateForm from 'containers/ChannelCreateForm';
-import * as states from 'constants/channel_select_states';
+import * as states from 'constants/publish_channel_select_states';
class ChannelSelect extends React.Component {
constructor (props) {
diff --git a/react/containers/PublishUrlInput/index.js b/react/containers/PublishUrlInput/index.js
index 61fe5850..e1b28ae7 100644
--- a/react/containers/PublishUrlInput/index.js
+++ b/react/containers/PublishUrlInput/index.js
@@ -8,6 +8,7 @@ const mapStateToProps = ({ channel, publish }) => {
loggedInChannelShortId: channel.loggedInChannel.shortId,
fileName : publish.file.name,
publishInChannel : publish.publishInChannel,
+ selectedChannel : publish.selectedChannel,
claim : publish.claim,
urlError : publish.error.url,
};
diff --git a/react/containers/PublishUrlInput/view.jsx b/react/containers/PublishUrlInput/view.jsx
index 45c3c88a..7d100eaf 100644
--- a/react/containers/PublishUrlInput/view.jsx
+++ b/react/containers/PublishUrlInput/view.jsx
@@ -5,10 +5,6 @@ import UrlMiddle from 'components/PublishUrlMiddleDisplay';
class PublishUrlInput extends React.Component {
constructor (props) {
super(props);
- this.state = {
- host : 'spee.ch',
- urlMiddle: null,
- };
this.handleInput = this.handleInput.bind(this);
this.cleanseInput = this.cleanseInput.bind(this);
this.setClaimNameFromFileName = this.setClaimNameFromFileName.bind(this);
@@ -65,9 +61,14 @@ class PublishUrlInput extends React.Component {
- {this.state.host} /
+ spee.ch /
-
+
{ (this.props.claim && !this.props.urlError) && {'\u2713'} }
diff --git a/react/reducers/publish.js b/react/reducers/publish.js
index 69696751..108d84bf 100644
--- a/react/reducers/publish.js
+++ b/react/reducers/publish.js
@@ -1,8 +1,9 @@
import * as actions from 'constants/publish_action_types';
+import { LOGIN } from 'constants/publish_channel_select_states';
const initialState = {
publishInChannel : false,
- selectedChannel : null,
+ selectedChannel : LOGIN,
showMetadataInputs: false,
status : {
status : null,