import { useMe } from '@features/auth'
import { MnemonicSection } from '@widgets/profile'
import { Spinner } from '@shared/ui'

// «Мнемоническая фраза» dashboard item.
export function MnemonicItem() {
  const { isLoading } = useMe()
  if (isLoading) return <Spinner fullscreen label="Загрузка" />
  return <MnemonicSection />
}
