Skip to content

Commit

Permalink
commenting out console.log lines
Browse files Browse the repository at this point in the history
  • Loading branch information
njouud committed Sep 15, 2024
1 parent 6903186 commit b3380d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/topics/posts.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ module.exports = function (Topics) {
};

async function addEventStartEnd(postData, set, reverse, topicData) {
console.log('njoud: refactored code is running');
// console.log('njoud: refactored code is running');
if (!postData.length) {
return;
}
Expand All @@ -86,7 +86,7 @@ module.exports = function (Topics) {
to set the start and end times of each post
*/
function setEventTimes(p, nextPost, reverse, topicData) {
console.log('njoud: refactored code is running (helper function 1)');
// console.log('njoud: refactored code is running (helper function 1)');
if (p && p.index === 0 && reverse) {
p.eventStart = topicData.lastposttime;
p.eventEnd = Date.now();
Expand All @@ -108,7 +108,7 @@ module.exports = function (Topics) {
helper function for last post
*/
async function handleLastPost(lastPost, set, reverse, topicData) {
console.log('njoud: refactored code is running (helper function 2)');
// console.log('njoud: refactored code is running (helper function 2)');
if (!lastPost) {
return;
}
Expand Down

0 comments on commit b3380d2

Please sign in to comment.