refactor(notes): rename to include popup

This commit is contained in:
en 2025-02-14 13:16:19 +01:00
parent 7c3bf7d76a
commit a763c917a6
2 changed files with 3 additions and 3 deletions

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