diff --git a/components/AuthorPresentationEditor.tsx b/components/AuthorPresentationEditor.tsx index 5918f43..ce77d8d 100644 --- a/components/AuthorPresentationEditor.tsx +++ b/components/AuthorPresentationEditor.tsx @@ -167,7 +167,6 @@ function PresentationForm({ error, loading, handleSubmit, - userName, }: { draft: AuthorPresentationDraft setDraft: (next: AuthorPresentationDraft) => void @@ -175,7 +174,6 @@ function PresentationForm({ error: string | null loading: boolean handleSubmit: (e: FormEvent) => Promise - userName: string }) { return (
- + @@ -349,9 +347,6 @@ function AuthorPresentationFormView({ return } - // Get user name or fallback to shortened pubkey - const userName = profile?.name ?? (pubkey ? `${pubkey.substring(0, 16)}...` : t('presentation.fallback.user')) - return ( ) } diff --git a/components/PresentationFormHeader.tsx b/components/PresentationFormHeader.tsx index 5b99479..740eae0 100644 --- a/components/PresentationFormHeader.tsx +++ b/components/PresentationFormHeader.tsx @@ -1,15 +1,8 @@ import { t } from '@/lib/i18n' -interface PresentationFormHeaderProps { - userName: string -} - -export function PresentationFormHeader({ userName }: PresentationFormHeaderProps) { +export function PresentationFormHeader() { return (
-

- {userName} -

{t('presentation.description')}