diff --git a/src/components/Notes/Note.tsx b/src/components/Notes/Note.tsx index efbc430..aba2445 100644 --- a/src/components/Notes/Note.tsx +++ b/src/components/Notes/Note.tsx @@ -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) => { )} {showRepostPopup && ( - setShowRepostPopup(false)} diff --git a/src/components/Notes/NoteRepost.tsx b/src/components/Notes/NoteRepostPopup.tsx similarity index 99% rename from src/components/Notes/NoteRepost.tsx rename to src/components/Notes/NoteRepostPopup.tsx index d24b82b..82c743f 100644 --- a/src/components/Notes/NoteRepost.tsx +++ b/src/components/Notes/NoteRepostPopup.tsx @@ -16,7 +16,7 @@ interface NoteRepostProps { handleClose: () => void } -export const NoteRepost = ({ +export const NoteRepostPopup = ({ ndkEvent, handleConfirm, handleClose