Skip to content

Commit

Permalink
[bugfix]: fix race condition for opening play queue/playlist details
Browse files Browse the repository at this point in the history
  • Loading branch information
kgarner7 committed Jan 25, 2024
1 parent 26102bd commit 362a88b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export const PlayQueue = forwardRef(({ type }: QueueProps, ref: Ref<any>) => {

const handleGridSizeChange = () => {
if (tableConfig.autoFit) {
tableRef?.current?.api.sizeColumnsToFit();
tableRef?.current?.api?.sizeColumnsToFit();
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const PlaylistDetailSongListContent = ({ tableRef }: PlaylistDetailConten

const handleGridSizeChange = () => {
if (page.table.autoFit) {
tableRef?.current?.api.sizeColumnsToFit();
tableRef?.current?.api?.sizeColumnsToFit();
}
};

Expand Down

1 comment on commit 362a88b

@vercel
Copy link

@vercel vercel bot commented on 362a88b Jan 25, 2024

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-git-development-jeffvli.vercel.app
feishin-jeffvli.vercel.app

Please sign in to comment.