diff --git a/client/src/app-components/topic-viewer.js b/client/src/app-components/topic-viewer.js index 190875f4..c85cb52d 100644 --- a/client/src/app-components/topic-viewer.js +++ b/client/src/app-components/topic-viewer.js @@ -1,4 +1,6 @@ import React from 'react'; +import _ from 'lodash'; +import classNames from 'classnames'; import {Link} from 'react-router'; import i18n from 'lib-app/i18n'; @@ -27,6 +29,11 @@ class TopicViewer extends React.Component { editable: true }; + state = { + articles: this.props.articles, + currentDraggedId: 0 + }; + render() { return (
@@ -37,7 +44,7 @@ class TopicViewer extends React.Component { {(this.props.editable) ? this.renderDeleteButton() : null}