Skip to content

Commit

Permalink
Merge pull request #17 from lifeparticle/fix-ui
Browse files Browse the repository at this point in the history
rm undefined
  • Loading branch information
lifeparticle authored Jan 8, 2025
2 parents 1d8052c + bb418cb commit c6cfce8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/components/repos-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function formatDaysAgo(dateString: string): string {
}

type CustomSortDescriptor = {
column: ReactKey | undefined;
column: ReactKey;
direction: "ascending" | "descending";
};

Expand Down Expand Up @@ -85,7 +85,7 @@ const columns = [
export default function ReposTable() {
const [filterValue, setFilterValue] = useState("");
const [sortDescriptor, setSortDescriptor] = useState<CustomSortDescriptor>({
column: "stargazers_count" as ReactKey,
column: "stargazers_count",
direction: "descending",
});
const [selected, setSelected] = useState("ui_frameworks");
Expand Down

0 comments on commit c6cfce8

Please sign in to comment.