minor edits

This commit is contained in:
Chris Troutner
2025-08-15 10:33:47 -07:00
parent 391ddb62de
commit 3fbbdbc6a7
2 changed files with 4 additions and 2 deletions
@@ -1,6 +1,7 @@
/** /**
* Component for displaying nostr posts * Component for displaying nostr posts
*/ */
// Global npm libraries // Global npm libraries
import React, { useCallback, useEffect, useState } from 'react' import React, { useCallback, useEffect, useState } from 'react'
import { Card, Spinner } from 'react-bootstrap' import { Card, Spinner } from 'react-bootstrap'
@@ -8,12 +9,14 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faUser, faHeart as faHeartSolid } from '@fortawesome/free-solid-svg-icons' import { faUser, faHeart as faHeartSolid } from '@fortawesome/free-solid-svg-icons'
import { faHeart } from '@fortawesome/free-regular-svg-icons' import { faHeart } from '@fortawesome/free-regular-svg-icons'
import * as nip19 from 'nostr-tools/nip19' import * as nip19 from 'nostr-tools/nip19'
import NostrFormat from '../nostr-format'
import { finalizeEvent } from 'nostr-tools/pure' import { finalizeEvent } from 'nostr-tools/pure'
import { Relay } from 'nostr-tools/relay' import { Relay } from 'nostr-tools/relay'
import { hexToBytes } from '@noble/hashes/utils' // already an installed dependency import { hexToBytes } from '@noble/hashes/utils' // already an installed dependency
import { RelayPool } from 'nostr' import { RelayPool } from 'nostr'
// Local libraries
import CopyOnClick from '../../bch-wallet/copy-on-click.js' import CopyOnClick from '../../bch-wallet/copy-on-click.js'
import NostrFormat from '../nostr-format'
function FeedCard (props) { function FeedCard (props) {
const { post, appData, profiles } = props const { post, appData, profiles } = props
@@ -1,6 +1,5 @@
/* /*
Component for reading the nostr feeds. Component for reading the nostr feeds.
*/ */
// Global npm libraries // Global npm libraries