diff --git a/src/client/main.tsx b/src/client/main.tsx index 3014487..d6def2a 100644 --- a/src/client/main.tsx +++ b/src/client/main.tsx @@ -33,6 +33,7 @@ import { speechChunks, type ReaderSpeechPreferences } from './readerSpeech' +import { shouldShowAdminNavigation } from './navigation' type WalletSubstrate = 'auto' | 'json-api' | 'secure-json-api' | 'react-native' | 'Cicada' | 'XDM' | 'window.CWI' @@ -1197,7 +1198,7 @@ function Shell ({ children, status }: { children: React.ReactNode, status: Statu About Reader settings Author - Admin + {shouldShowAdminNavigation(status?.isAdmin) && Admin}