Feed - posts #227

Merged
enes merged 23 commits from feat/131-feed-posts into staging 2025-02-14 19:54:29 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit a763c917a6 - Show all commits

View File

@ -19,7 +19,7 @@ import { appRoutes, getProfilePageRoute } from 'routes'
import { UserProfile } from 'types'
import { hexToNpub } from 'utils'
import { NoteSubmit } from './NoteSubmit'
import { NoteRepost } from './NoteRepost'
import { NoteRepostPopup } from './NoteRepostPopup'
interface NoteProps {
ndkEvent: NDKEvent
@ -276,7 +276,7 @@ export const Note = ({ ndkEvent }: NoteProps) => {
</div>
)}
{showRepostPopup && (
<NoteRepost
<NoteRepostPopup
ndkEvent={repostEvent || ndkEvent}
handleConfirm={handleRepost}
handleClose={() => setShowRepostPopup(false)}

View File

@ -16,7 +16,7 @@ interface NoteRepostProps {
handleClose: () => void
}
export const NoteRepost = ({
export const NoteRepostPopup = ({
ndkEvent,
handleConfirm,
handleClose