From 108e680d29f83378bedf02e7ded14d8666531b72 Mon Sep 17 00:00:00 2001 From: "LAPTOP-6SJOR7OT\\Even" <evengu@stud.ntnu.no> Date: Mon, 25 Nov 2019 09:29:59 +0100 Subject: [PATCH] =?UTF-8?q?M=C3=A5tte=20endre=20importeringen=20av=20Comme?= =?UTF-8?q?nt=20og=20Article=20i=20store.js=20og=20CommentWidget.js.=20Dis?= =?UTF-8?q?se=20ble=20endret=20til=20testingen,=20og=20glemte=20=C3=A5=20e?= =?UTF-8?q?ndre=20her.=20Beklager=20at=20det=20kom=20en=20commit=20etter?= =?UTF-8?q?=20fristen,=20men=20uten=20denne=20ville=20ingenting=20p=C3=A5?= =?UTF-8?q?=20siden=20blitt=20vist...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/CommentWidgets.js | 2 +- client/src/stores.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/CommentWidgets.js b/client/src/CommentWidgets.js index 8d98f34..ba6ae00 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 a8a9065..cac52bf 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" -- GitLab