Skip to content

Commit

Permalink
fix (#4332)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkrmendy authored Oct 6, 2023
1 parent 25f07a7 commit f37dc8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ export const FontFamilySelectPopup = React.memo(
)

const getItemSize = React.useCallback(
(index: number) => filteredData[index].height,
(index: number) => filteredData.at(index)?.height ?? 0,
[filteredData],
)

Expand Down

0 comments on commit f37dc8a

Please sign in to comment.