diff --git a/src/components/HighlightCitation.tsx b/src/components/HighlightCitation.tsx index 86ca188b..14e025c8 100644 --- a/src/components/HighlightCitation.tsx +++ b/src/components/HighlightCitation.tsx @@ -21,6 +21,14 @@ export const HighlightCitation: React.FC = ({ const [articleTitle, setArticleTitle] = useState() const authorProfile = useEventModel(Models.ProfileModel, authorPubkey ? [authorPubkey] : null) + // Debug: log the authorPubkey and profile + useEffect(() => { + if (authorPubkey) { + console.log('📝 HighlightCitation - authorPubkey:', authorPubkey) + console.log('📝 HighlightCitation - authorProfile:', authorProfile) + } + }, [authorPubkey, authorProfile]) + useEffect(() => { if (!eventReference || !relayPool) { return