Skip to content

Commit

Permalink
remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
AaruBama committed Jan 27, 2025
1 parent c716b52 commit 69399e5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/context/HashtagContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ export const HashTagToolProvider = ({
return;
}
const filters = { limit: 10, '#t': memoizedFilterTags };
// const notes = await fetchNotes(filters);
console.log('Fetching notes with profiles');

const allNotes = await fetchNotesWithProfiles(filters);
console.log('All notes', allNotes);
let filteredNotes = allNotes
.map(note => ({ ...note })) // Create new plain objects
.filter(note =>
Expand All @@ -40,7 +38,6 @@ export const HashTagToolProvider = ({
(a, b) => b.created_at - a.created_at,
);

console.log('All Filtered notes', filteredNotes);
const postIds = filteredNotes.map(note => note.id);
const votes = await getVotes(postIds);

Expand Down

0 comments on commit 69399e5

Please sign in to comment.