about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-04-05 20:43:11 -0500
committerPaul Frazee <pfrazee@gmail.com>2023-04-05 20:43:11 -0500
commit4f886f712c09629a8bc2751e360ca2c7f9ae842f (patch)
treeb2e59cf1241367801dece45b34a9d596f95af0d1
parentea04c2bd330dc5b46d6f9df0d7d4619bbd8f56d0 (diff)
downloadvoidsky-4f886f712c09629a8bc2751e360ca2c7f9ae842f.tar.zst
Fix web sidebar listing of invite codes
-rw-r--r--src/view/shell/desktop/RightNav.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/shell/desktop/RightNav.tsx b/src/view/shell/desktop/RightNav.tsx
index a344f0fc0..354257a52 100644
--- a/src/view/shell/desktop/RightNav.tsx
+++ b/src/view/shell/desktop/RightNav.tsx
@@ -45,7 +45,7 @@ export const DesktopRightNav = observer(function DesktopRightNav() {
   )
 })
 
-function InviteCodes() {
+const InviteCodes = observer(() => {
   const store = useStores()
   const pal = usePalette('default')
 
@@ -72,7 +72,7 @@ function InviteCodes() {
       </Text>
     </TouchableOpacity>
   )
-}
+})
 
 const styles = StyleSheet.create({
   rightNav: {