about summary refs log tree commit diff
diff options
context:
space:
mode:
-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: {