chore: formatting
This commit is contained in:
@ -140,7 +140,7 @@ export const FooterZapButton = ({ ev, zaps, onClickZappers }: ZapIconProps) => {
|
||||
value={zapTotal}
|
||||
onClick={fastZap}
|
||||
/>
|
||||
<ZapsSummary zaps={zaps} onClick={onClickZappers ?? (() => { })} />
|
||||
<ZapsSummary zaps={zaps} onClick={onClickZappers ?? (() => {})} />
|
||||
</div>
|
||||
{showZapModal && (
|
||||
<ZapModal
|
||||
|
@ -19,8 +19,8 @@ export const LikeButton = ({
|
||||
const { publisher, system } = useEventPublisher();
|
||||
|
||||
const hasReacted = (emoji: string) => {
|
||||
return (
|
||||
positiveReactions?.some(({ pubkey, content }) => normalizeReaction(content) === emoji && pubkey === publicKey)
|
||||
return positiveReactions?.some(
|
||||
({ pubkey, content }) => normalizeReaction(content) === emoji && pubkey === publicKey,
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -121,9 +121,11 @@ const TimelineFollows = (props: TimelineFollowsProps) => {
|
||||
displayAs={displayAs}
|
||||
/>
|
||||
{sortedFeed.length > 0 && (
|
||||
<ShowMoreInView onClick={() => {
|
||||
setLimit(s => s + 20);
|
||||
}} />
|
||||
<ShowMoreInView
|
||||
onClick={() => {
|
||||
setLimit(s => s + 20);
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
|
Reference in New Issue
Block a user