diff --git a/src/views/new-topic-view.jsx b/src/views/new-topic-view.jsx index 6cebbcbb..2af18656 100644 --- a/src/views/new-topic-view.jsx +++ b/src/views/new-topic-view.jsx @@ -35,7 +35,7 @@ class NewTopicView extends React.Component { super(props); this.state = { - tabSelected: 'p2p', + tabSelected: 'find', searchQuery: null }; @@ -62,7 +62,7 @@ class NewTopicView extends React.Component { } handleContactSelected(uid) { - if (this.state.tabSelected == 'p2p') { + if (this.state.tabSelected == 'find') { HashNavigation.navigateTo(HashNavigation.removeUrlParam(window.location.hash, 'tab')); this.props.onCreateTopic(uid); } @@ -87,8 +87,8 @@ class NewTopicView extends React.Component { return (