diff --git a/packages/client/src/components/UserMenu.tsx b/packages/client/src/components/UserMenu.tsx index 5e9bc04e..aea4024d 100644 --- a/packages/client/src/components/UserMenu.tsx +++ b/packages/client/src/components/UserMenu.tsx @@ -31,7 +31,7 @@ export function UserMenu({ disableAppSettings, children, }: UserMenuProps) { - const isLoggedIn = useIsLoggedIn(); + const [isLoggedIn] = useIsLoggedIn(); const isOffline = useIsOffline(); const appId = useAppId(); @@ -62,23 +62,7 @@ export function UserMenu({ Offline - some features may be unavailable )} - {getIsPWAInstalled() ? ( - - More apps - - - - - ) : ( - - - More apps - - - - - - )} + {!isLoggedIn ? ( )} + {getIsPWAInstalled() ? ( + + More apps + + + + + ) : ( + + + More apps + + + + + + )} {!disableAppSettings && ( diff --git a/web/src/components/storage/VerdantLibraries.tsx b/web/src/components/storage/VerdantLibraries.tsx index f5e93617..1f1c8cb4 100644 --- a/web/src/components/storage/VerdantLibraries.tsx +++ b/web/src/components/storage/VerdantLibraries.tsx @@ -34,6 +34,7 @@ const libraryData = graphql( ` query VerdantLibraryData($appId: String!) { plan { + id libraryInfo(app: $appId) { ...LibraryFragment } @@ -48,6 +49,7 @@ const resetSync = graphql( mutation ResetSync($appId: String!) { resetSync(app: $appId) { plan { + id libraryInfo(app: $appId) { ...LibraryFragment }