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

// «Безопасность» dashboard item.
export function SecurityItem() {
  const { isLoading } = useMe()
  if (isLoading) return <Spinner fullscreen label="Загрузка" />
  return <SecuritySection />
}
