diff --git a/src/ui/components/SortableTable.tsx b/src/ui/components/SortableTable.tsx index f3c3abf93..4f2af73df 100644 --- a/src/ui/components/SortableTable.tsx +++ b/src/ui/components/SortableTable.tsx @@ -194,10 +194,7 @@ const Row = ({ ); }; -const SortableTable = < - Id extends string, - Value extends Record & Record, ->({ +const SortableTable = >({ cols, disabled, getId, diff --git a/src/ui/views/FantasyDraft.tsx b/src/ui/views/FantasyDraft.tsx index 032f4edc3..418db07d9 100644 --- a/src/ui/views/FantasyDraft.tsx +++ b/src/ui/views/FantasyDraft.tsx @@ -71,6 +71,7 @@ const FantasyDraft = ({ phase, teams, userTids }: View<"fantasyDraft">) => { String(t.tid)} highlightHandle={({ value }) => userTids.includes(value.tid)} onChange={({ oldIndex, newIndex }) => { const newSortedTids = arrayMoveImmutable(