import { Suspense } from 'react'; import { useAuthor } from './useAuthor'; import { useCurrentUser } from './useCurrentUser'; import { useLoginActions } from './useLoginActions'; import { useSocialFeed } from './useSocialFeed'; import type { NostrEvent } from '@nostrify/nostrify'; function App() { const { user, metadata } = useCurrentUser(); const login = useLoginActions(); function renderLogin() { if (user) { if (metadata.name) { return