mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-01-26 11:23:58 +00:00
Address some review comments
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import _ from "lodash";
|
||||
import React from "react";
|
||||
import request from "axios";
|
||||
import _ from "lodash";
|
||||
import transformers from "./feed-transformers";
|
||||
import timeago from "timeago";
|
||||
import api from "./api";
|
||||
import transformers from "./feed-transformers";
|
||||
|
||||
function throwError(err) {
|
||||
setTimeout(() => {
|
||||
@@ -65,7 +66,7 @@ export default class Feed extends React.Component {
|
||||
</div>
|
||||
<div className="message__details">
|
||||
<span className="message__timestamp">
|
||||
{require("timeago")(message.timestamp)}
|
||||
{timeago(message.timestamp)}
|
||||
</span>
|
||||
<span className="message__meta">{message.meta}</span>
|
||||
</div>
|
||||
|
||||
@@ -1,13 +1,9 @@
|
||||
"use strict";
|
||||
|
||||
import _ from "lodash";
|
||||
import request from "axios";
|
||||
import React from "react";
|
||||
import classSet from "classnames";
|
||||
import api from "../api";
|
||||
import Loader from "../Loader";
|
||||
//import configFactory from "../../config.js";
|
||||
//const config = configFactory();
|
||||
|
||||
var fieldNameTranslations = {
|
||||
address: { fi: "Osoite" },
|
||||
|
||||
Reference in New Issue
Block a user