Fix types for updated packages

This commit is contained in:
jeffvli 2023-05-10 20:00:39 -07:00
parent 416476cc66
commit cf489d3934
3 changed files with 12 additions and 3 deletions

View file

@ -143,7 +143,7 @@ export const SidebarPlaylistList = ({ data }: SidebarPlaylistListProps) => {
h="100%"
{...hideScrollbarElementProps}
>
<AutoSizer onResize={(e) => setRect(e)}>
<AutoSizer onResize={(e) => setRect(e as { height: number; width: number })}>
{() => (
<FixedSizeList
className={isScrollbarHidden ? 'hide-scrollbar overlay-scrollbar' : 'overlay-scrollbar'}