Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tbolt committed Jan 10, 2025
1 parent 6022c91 commit cb2ed87
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions react-app/src/components/Opensearch/main/Table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ export const OsTable: FC<{
if (TH.hidden) return null;

const currentSort = url.state.sort.find((s) => s.field === TH.field);
console.log("sorted:", currentSort);

return (
<UI.TableHead
{...(!!TH.props && TH.props)}
key={`TH-${TH.field}`}
// isActive={url.state.sort.field === TH.field}
isActive={!!currentSort}
desc={currentSort?.order === "desc"}
{...(TH.isSystem && { className: "pointer-events-none" })}
Expand Down

0 comments on commit cb2ed87

Please sign in to comment.