1
0
Fork 0
mirror of synced 2024-10-05 12:34:50 +13:00

Only apply row height prop if defined

This commit is contained in:
Andrew Kingston 2023-06-19 17:40:57 +01:00
parent 9d8b5e99af
commit c03e64699d

View file

@ -193,5 +193,9 @@ export const initialise = context => {
}) })
// Reset row height when initial row height prop changes // Reset row height when initial row height prop changes
initialRowHeight.subscribe(rowHeight.set) initialRowHeight.subscribe(height => {
if (height) {
rowHeight.set(height)
}
})
} }