From 5c4fc4737f7944254c317dd8804640a951e76ba3 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 12 Nov 2024 19:42:29 +0000 Subject: [PATCH] appease React compiler by using `.set()` --- src/view/shell/bottom-bar/BottomBar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/view/shell/bottom-bar/BottomBar.tsx b/src/view/shell/bottom-bar/BottomBar.tsx index 8952aaaa53..f346f420e9 100644 --- a/src/view/shell/bottom-bar/BottomBar.tsx +++ b/src/view/shell/bottom-bar/BottomBar.tsx @@ -234,8 +234,8 @@ export function BottomBar({navigation}: BottomTabBarProps) { {paddingBottom: clamp(safeAreaInsets.bottom, 15, 30)}, footerMinimalShellTransform, ]} - onLayout={e => { - footerHeight.value = e.nativeEvent.layout.height + onLayout={evt => { + footerHeight.set(evt.nativeEvent.layout.height) }}> {hasSession ? ( <>