mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-09-20 10:06:32 +00:00
lint fix
This commit is contained in:
parent
d882099b90
commit
c2b2d7af27
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user