diff --git a/src/view/shell/desktop/RightNav.tsx b/src/view/shell/desktop/RightNav.tsx index a344f0fc..354257a5 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() { ) -} +}) const styles = StyleSheet.create({ rightNav: {