about summary refs log tree commit diff
path: root/src/view/com/util/Selector.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-11-08 16:37:21 -0600
committerPaul Frazee <pfrazee@gmail.com>2022-11-08 16:37:21 -0600
commit0cdfd089f542526276781264045d13f12657d431 (patch)
tree468cc0a3086630a7894be0ba95c6f18cc0a381f4 /src/view/com/util/Selector.tsx
parente6429182a1e844b33017c4f5f9a5ca2ce103bfdb (diff)
downloadvoidsky-0cdfd089f542526276781264045d13f12657d431.tar.zst
Implement scene member/memberships listings
Diffstat (limited to 'src/view/com/util/Selector.tsx')
-rw-r--r--src/view/com/util/Selector.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/util/Selector.tsx b/src/view/com/util/Selector.tsx
index e68310682..06e8cda80 100644
--- a/src/view/com/util/Selector.tsx
+++ b/src/view/com/util/Selector.tsx
@@ -41,7 +41,7 @@ export function Selector({
       width: middle.width,
     }
     return [left, middle, right]
-  }, [selectedIndex, itemLayouts])
+  }, [selectedIndex, items, itemLayouts])
 
   const interp = swipeGestureInterp || DEFAULT_SWIPE_GESTURE_INTERP
   const underlinePos = useAnimatedStyle(() => {