(e: MouseEvent)
| 63 | const { source } = post; |
| 64 | const sourceImage = source?.image ?? ''; |
| 65 | const onHideClick = (e: MouseEvent) => { |
| 66 | e.stopPropagation(); |
| 67 | e.preventDefault(); |
| 68 | if (!onHide || !timestampDb) { |
| 69 | return; |
| 70 | } |
| 71 | onHide({ postId: post.id, timestamp: timestampDb }); |
| 72 | }; |
| 73 | const article = post?.sharedPost ?? post; |
| 74 | const isUserSource = isSourceUserSource(source); |
| 75 |