remove logging

This commit is contained in:
Rob Watson 2020-07-03 13:00:02 +02:00
parent fec8d09693
commit 47dc4305d7
1 changed files with 0 additions and 4 deletions

View File

@ -34,16 +34,12 @@ class SortableLink extends Component {
} }
renderIcon(sortKey, searchParams) { renderIcon(sortKey, searchParams) {
console.log("sortKey is", sortKey, "and params is", searchParams);
if (searchParams.sort_key !== sortKey) { if (searchParams.sort_key !== sortKey) {
console.log("ret 1");
return ""; return "";
} }
if (searchParams.sort_dir === "Asc") { if (searchParams.sort_dir === "Asc") {
console.log("ret 2");
return <svg class="icon icon-arrow-up d-none d-sm-inline mr-1"><use xlinkHref="#icon-arrow-up"></use></svg>; return <svg class="icon icon-arrow-up d-none d-sm-inline mr-1"><use xlinkHref="#icon-arrow-up"></use></svg>;
} }
console.log("ret 3");
return <svg class="icon icon-arrow-down mr-1"><use xlinkHref="#icon-arrow-down"></use></svg>l return <svg class="icon icon-arrow-down mr-1"><use xlinkHref="#icon-arrow-down"></use></svg>l
} }
) )