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(
App,
newsMountPoint,
() => console.log('react has rendered and is ready to go go go go go go!!')
newsMountPoint
);

View File

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