refactor(notes): rename to include popup
This commit is contained in:
parent
7c3bf7d76a
commit
a763c917a6
@ -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)}
|
||||
|
@ -16,7 +16,7 @@ interface NoteRepostProps {
|
||||
handleClose: () => void
|
||||
}
|
||||
|
||||
export const NoteRepost = ({
|
||||
export const NoteRepostPopup = ({
|
||||
ndkEvent,
|
||||
handleConfirm,
|
||||
handleClose
|
Loading…
x
Reference in New Issue
Block a user