From 3a6ac190800644dba207b0c7b4d65640ca7175c3 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 18 Jun 2018 23:34:47 +0300 Subject: fix other links --- vnext/src/components/Avatar.js | 7 +++++-- vnext/src/components/Message.js | 14 ++++++++------ vnext/src/index.js | 2 +- 3 files changed, 14 insertions(+), 9 deletions(-) (limited to 'vnext/src') diff --git a/vnext/src/components/Avatar.js b/vnext/src/components/Avatar.js index 72b5d2d1..c6dc71ec 100644 --- a/vnext/src/components/Avatar.js +++ b/vnext/src/components/Avatar.js @@ -1,11 +1,14 @@ import React from 'react'; +import { Link } from 'react-router-dom'; import { UserType } from './Types'; export default function Avatar(props) { return ( -
- {`${props.user.uname}`} +
+ + {`${props.user.uname}`} +
); } diff --git a/vnext/src/components/Message.js b/vnext/src/components/Message.js index 9a15d512..e03935ce 100644 --- a/vnext/src/components/Message.js +++ b/vnext/src/components/Message.js @@ -16,16 +16,18 @@ export default function Message(props) {
- + - +
@@ -67,7 +69,7 @@ export default function Message(props) { )} {!Boolean(msg.ReadOnly) | (visitor.uid === msg.user.uid) && ( - + {msg.replies > 0 && @@ -79,7 +81,7 @@ export default function Message(props) { }  Comment - +  Share @@ -97,7 +99,7 @@ export default function Message(props) { function Tags(props) { return props.data && props.data.map(tag => { - return ({tag}) + return ({tag}) }) } diff --git a/vnext/src/index.js b/vnext/src/index.js index 24421545..3a5fcbfe 100644 --- a/vnext/src/index.js +++ b/vnext/src/index.js @@ -121,10 +121,10 @@ class App extends React.Component { } /> } /> + } /> } /> } /> } /> - } /> -- cgit v1.2.3