This commit is contained in:
Martti Malmi 2023-03-06 15:43:43 +02:00
parent d882099b90
commit c2b2d7af27
2 changed files with 1 additions and 2 deletions

View File

@ -312,7 +312,6 @@ class Note extends Component {
this.props.standalone && this.props.meta.attachments?.find((a) => a.type === 'image')?.data;
const isThumbnail = this.props.thumbnail ? 'thumbnail-item' : '';
const s = this.state;
let name = this.props.name || this.state.name || AnimalName(this.props.event.pubkey);
const emojiOnly =
this.props.event.content?.length === 2 && Helpers.isEmoji(this.props.event.content);

View File

@ -1,12 +1,12 @@
import { html } from 'htm/preact';
import Icons from '../../Icons';
import Events from '../../nostr/Events';
import Key from '../../nostr/Key';
import { translate as t } from '../../translations/Translation';
import Name from '../Name';
import EventComponent from './EventComponent';
import Events from '../../nostr/Events';
export default function Repost(props) {
const repostedEventId = Events.getRepostedEventId(props.event);