appease React compiler by using .set()
This commit is contained in:
@@ -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 ? (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Reference in New Issue
Block a user