diff --git a/src/components/ReactionsModal/ReactionsModal.module.scss b/src/components/ReactionsModal/ReactionsModal.module.scss index 31d712b..7ea6054 100644 --- a/src/components/ReactionsModal/ReactionsModal.module.scss +++ b/src/components/ReactionsModal/ReactionsModal.module.scss @@ -185,7 +185,7 @@ justify-content: center; align-items: center; gap: 6px; - width: 40px; + width: 48px; height: 42px; diff --git a/src/components/ReactionsModal/ReactionsModal.tsx b/src/components/ReactionsModal/ReactionsModal.tsx index 0da2783..316902b 100644 --- a/src/components/ReactionsModal/ReactionsModal.tsx +++ b/src/components/ReactionsModal/ReactionsModal.tsx @@ -9,7 +9,7 @@ import { ReactionStats } from '../../contexts/AppContext'; import { hookForDev } from '../../lib/devTools'; import { hexToNpub } from '../../lib/keys'; import { getEventReactions } from '../../lib/notes'; -import { truncateNumber } from '../../lib/notifications'; +import { truncateNumber, truncateNumber2 } from '../../lib/notifications'; import { subscribeTo } from '../../sockets'; import { userName } from '../../stores/profile'; import { actions as tActions, placeholders as tPlaceholders } from '../../translations'; @@ -119,6 +119,7 @@ const ReactionsModal: Component<{ if (type === 'EOSE') { const zapData = zaps.map((zap => ({ ...zap, + amount: parseInt(zap.amount || '0'), sender: users[zap.pubkey], }))); @@ -324,7 +325,7 @@ const ReactionsModal: Component<{ >