fix quote embed

This commit is contained in:
smolgrrr 2024-08-25 20:45:19 +10:00
parent 8b6e605fd9
commit 22c98b76ae
3 changed files with 2 additions and 3 deletions

View File

@ -50,7 +50,6 @@ const QuoteEmbed = ({
<div className="text-xs font-semibold text-neutral-600">
{timeAgo(event.created_at)}
</div>
<span className="text-neutral-700">·</span>
</div>
</div>
</div>

View File

@ -16,7 +16,7 @@ const RichText = ({ text, isExpanded, emojiMap }: { text: string; isExpanded: bo
<div key={i}>
{line.split(' ').map((word, j) =>
emojiMap[word]
? <img className="w-8 h-8 mx-0.5 inline" src={emojiMap[word]} alt={word} key={j} />
? <img className="w-9 h-9 mx-0.5 inline" src={emojiMap[word]} alt={word} key={j} />
: `${word} `
)}
</div>

View File

@ -25,7 +25,7 @@ const Home = () => {
.filter((event) =>
verifyPow(event) >= Number(filterDifficulty) &&
event.kind !== 0 &&
(event.kind !== 1 || !event.tags.some((tag) => tag[0] === "e" || tag[0] === "p"))
(event.kind !== 1 || !event.tags.some((tag) => tag[0] === "e"))
)
const postEventsWithReplies = postEvents.map((event) => {