chore(console): Remove some console logs (#17978)

This commit is contained in:
Stuart Taylor
2018-08-04 22:44:18 +01:00
committed by mrugesh mohapatra
parent e3247b4554
commit 06b648b402
2 changed files with 2 additions and 3 deletions

View File

@ -14,6 +14,5 @@ const App = (
render( render(
App, App,
newsMountPoint, newsMountPoint
() => console.log('react has rendered and is ready to go go go go go go!!')
); );

View File

@ -34,7 +34,7 @@ function pluralise(singular, count) {
function getTimeString(pubDate) { function getTimeString(pubDate) {
const now = new Date(Date.now()); const now = new Date(Date.now());
const minuteDiff = differenceInMinutes(now, pubDate); const minuteDiff = differenceInMinutes(now, pubDate);
console.log(typeof minuteDiff);
if (minuteDiff < 60) { if (minuteDiff < 60) {
return `${minuteDiff} ${pluralise('minute', minuteDiff)} ago`; return `${minuteDiff} ${pluralise('minute', minuteDiff)} ago`;
} }