diff --git a/client/src/CommentWidgets.js b/client/src/CommentWidgets.js index 8d98f348918b0e8aa03c6e2baa8a56d4375b2e11..ba6ae009dc900ad0a0e43c88d418b01b9e342e8b 100644 --- a/client/src/CommentWidgets.js +++ b/client/src/CommentWidgets.js @@ -3,7 +3,7 @@ import {Component} from "react-simplified"; import {articleStore} from "./stores"; import {Alert, Button, Card, Column, Row} from "./widgets"; import * as React from "react"; -import Comment from './Comment'; +import {Comment} from './Comment'; export class SingleComment extends Component<{ comment: Comment }> { render() { diff --git a/client/src/stores.js b/client/src/stores.js index a8a906592c191098624162670e5b81f8ecc4a8f8..cac52bffad35efff156f7cb59df5d719fa294a3b 100644 --- a/client/src/stores.js +++ b/client/src/stores.js @@ -2,8 +2,8 @@ import axios from 'axios'; import {sharedComponentData} from "react-simplified"; import {history} from "./myWidgets"; -import Article from './Article'; -import Comment from './Comment'; +import {Article} from './Article'; +import {Comment} from './Comment'; const header = { "Content-Type": "application/json"