feat: add post button to relayInfo component

This commit is contained in:
codytseng 2025-08-29 22:59:00 +08:00
parent 8c9416a6c8
commit 8b1f11d2ab
19 changed files with 57 additions and 49 deletions

View file

@ -27,11 +27,13 @@ import Uploader from './Uploader'
export default function PostContent({
defaultContent = '',
parentEvent,
close
close,
openFrom
}: {
defaultContent?: string
parentEvent?: Event
close: () => void
openFrom?: string[]
}) {
const { t } = useTranslation()
const { pubkey, publish, checkLogin } = useNostr()
@ -233,6 +235,7 @@ export default function PostContent({
parentEvent={parentEvent}
specifiedRelayUrls={specifiedRelayUrls}
setSpecifiedRelayUrls={setSpecifiedRelayUrls}
openFrom={openFrom}
/>
)}
<div className="flex items-center justify-between">