From 53843361b673f53cef4b1fa3d573091d397b1a9f Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Thu, 4 Aug 2016 04:09:03 -0400 Subject: [PATCH] Make Featured Content and Search use new TruncatedText component --- js/page/home.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/page/home.js b/js/page/home.js index 04c228eb5..2f770c489 100644 --- a/js/page/home.js +++ b/js/page/home.js @@ -201,8 +201,7 @@ var FeaturedContentItem = React.createClass({     -

{metadata.description.slice(0, this._maxDescriptionLength) + - (metadata.description.length > this._maxDescriptionLength ? ' ...' : '')}

+

{metadata.description}

); }