import { XrayIcon } from 'shared/components/icons.mjs' import { linkClasses, Chevron } from 'shared/components/navigation/primary.mjs' import { ConsoleLog } from './log.mjs' import { XrayReset } from './reset.mjs' import { XrayDisable } from './disable.mjs' import { XrayList } from './list.mjs' import { Ul, Details, TopSummary } from 'shared/components/workbench/menu' import { useTranslation } from 'next-i18next' export const XrayMenu = (props) => { const { t } = useTranslation(['app', 'settings']) return (
}> {props.gist?._state?.xray?.enabled ? ( <> {t('settings:xray.t')} ) : ( <> {t('cfp:thingIsDisabled', { thing: t('settings:xray.t') })} )} {props.gist?._state?.xray?.enabled && ( )}
) }