2026-01-13 14:49:19 +01:00

15 lines
443 B
TypeScript

import { t } from '@/lib/i18n'
import { RelayManagerContent } from './RelayManagerContent'
import type { RelayManagerViewProps } from './types'
export function RelayManagerView(params: RelayManagerViewProps): React.ReactElement {
if (params.loading) {
return (
<div className="text-center py-8 text-neon-cyan">
<div>{t('settings.relay.loading')}</div>
</div>
)
}
return <RelayManagerContent {...params} />
}