- Fix unused function warnings by renaming to _unusedExtractTags - Fix type errors in nostrTagSystem.ts for includes() calls - Fix type errors in reviews.ts for filter kinds array - Fix ArrayBuffer type errors in articleEncryption.ts - Remove unused imports (DecryptionKey, decryptArticleContent, extractTagsFromEvent) - All TypeScript checks now pass without disabling any controls
17 lines
543 B
TypeScript
17 lines
543 B
TypeScript
import { ConnectButton } from '@/components/ConnectButton'
|
|
import { ConditionalPublishButton } from './ConditionalPublishButton'
|
|
|
|
export function ProfileHeader() {
|
|
return (
|
|
<header className="bg-white shadow-sm">
|
|
<div className="max-w-4xl mx-auto px-4 py-4 flex justify-between items-center">
|
|
<h1 className="text-2xl font-bold text-gray-900">zapwall.fr</h1>
|
|
<div className="flex items-center gap-4">
|
|
<ConditionalPublishButton />
|
|
<ConnectButton />
|
|
</div>
|
|
</div>
|
|
</header>
|
|
)
|
|
}
|