Skip to content

Commit

Permalink
Remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nizetic committed Jul 24, 2024
1 parent d4d37dd commit c3f3b93
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export const areItemKeysEqual = (a, b) => {

export const copyAndSort = (items, key, isSortedDescending) => {
const newItems = [...items];
console.log('newItems', newItems);
newItems.sort((a, b) => ((isSortedDescending ? a[key] < b[key] : a[key] > b[key]) ? 1 : -1));
return newItems;
};
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ const MapDrawer = props => {
polyMapping.current[itemType][key].on('click', () => {
selection.toggleKeySelected(key);
onActiveItemChanged(item);
console.log(item);
});
}
});
Expand Down

0 comments on commit c3f3b93

Please sign in to comment.