about summary refs log tree commit diff
path: root/src/view/com/pager/TabBar.web.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/com/pager/TabBar.web.tsx')
-rw-r--r--src/view/com/pager/TabBar.web.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/view/com/pager/TabBar.web.tsx b/src/view/com/pager/TabBar.web.tsx
index 8afea0019..d22650535 100644
--- a/src/view/com/pager/TabBar.web.tsx
+++ b/src/view/com/pager/TabBar.web.tsx
@@ -106,7 +106,9 @@ export function TabBar({
             <PressableWithHover
               testID={`${testID}-selector-${i}`}
               key={`${item}-${i}`}
-              ref={node => (itemRefs.current[i] = node as any)}
+              ref={node => {
+                itemRefs.current[i] = node as any
+              }}
               style={styles.item}
               hoverStyle={t.atoms.bg_contrast_25}
               onPress={() => onPressItem(i)}