Skip to content

Commit

Permalink
Set column defs on play queue to use correct row index
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffvli committed Oct 19, 2023
1 parent 768a88d commit 913e89b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/renderer/features/now-playing/components/play-queue.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ export const PlayQueue = forwardRef(({ type }: QueueProps, ref: Ref<any>) => {
},
}));

const columnDefs = useMemo(() => getColumnDefs(tableConfig.columns), [tableConfig.columns]);
const columnDefs = useMemo(
() => getColumnDefs(tableConfig.columns, false, 'generic'),
[tableConfig.columns],
);

const handleDoubleClick = (e: CellDoubleClickedEvent) => {
const playerData = setCurrentTrack(e.data.uniqueId);
Expand Down

1 comment on commit 913e89b

@vercel
Copy link

@vercel vercel bot commented on 913e89b Oct 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

feishin – ./

feishin.vercel.app
feishin-jeffvli.vercel.app
feishin-git-development-jeffvli.vercel.app

Please sign in to comment.