appease React compiler by using .set()

This commit is contained in:
Samuel Newman
2024-11-12 19:42:29 +00:00
parent b919031e42
commit 5c4fc4737f
+2 -2
View File
@@ -234,8 +234,8 @@ export function BottomBar({navigation}: BottomTabBarProps) {
{paddingBottom: clamp(safeAreaInsets.bottom, 15, 30)}, {paddingBottom: clamp(safeAreaInsets.bottom, 15, 30)},
footerMinimalShellTransform, footerMinimalShellTransform,
]} ]}
onLayout={e => { onLayout={evt => {
footerHeight.value = e.nativeEvent.layout.height footerHeight.set(evt.nativeEvent.layout.height)
}}> }}>
{hasSession ? ( {hasSession ? (
<> <>