From 43ad3c12adc0372bebeef4cba26645811d1720af Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 27 Jun 2018 22:35:14 +0300 Subject: move tracking pixel url to api --- vnext/src/components/Thread.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'vnext/src/components') diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js index b1e1abb3..df3f460a 100644 --- a/vnext/src/components/Thread.js +++ b/vnext/src/components/Thread.js @@ -1,6 +1,5 @@ import React from 'react'; import { Link } from 'react-router-dom'; -import * as qs from 'query-string'; import moment from 'moment'; import Message from './Message'; @@ -12,7 +11,7 @@ import Button from './Button'; import { format } from '../utils/embed'; -import { getMessages, comment } from '../api'; +import { getMessages, comment, markReadTracker } from '../api'; export default class Thread extends React.Component { constructor(props) { @@ -90,7 +89,7 @@ export default class Thread extends React.Component { { this.props.visitor.uid > 0 && msg.mid &&
- +

{msg.replies && `Replies (${msg.replies})`}

} -- cgit v1.2.3