Browse Source

fix: 🐛

imwald
codytseng 5 months ago committed by Silberengel
parent
commit
8e7f867a66
  1. 2
      src/components/Content/index.tsx

2
src/components/Content/index.tsx

@ -112,7 +112,7 @@ export default function Content({
typeof lastNormalUrlNode?.data === 'string' ? lastNormalUrlNode.data : undefined typeof lastNormalUrlNode?.data === 'string' ? lastNormalUrlNode.data : undefined
return { nodes, allImages, emojiInfos, lastNormalUrl } return { nodes, allImages, emojiInfos, lastNormalUrl }
}, [event]) }, [event, translatedEvent, content])
if (!nodes || nodes.length === 0) { if (!nodes || nodes.length === 0) {
return null return null

Loading…
Cancel
Save