chore: formatting

This commit is contained in:
2024-01-17 15:48:30 +00:00
parent aa58ec4185
commit adb9fe5c2e
11 changed files with 56 additions and 54 deletions

View File

@ -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

View File

@ -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,
);
};

View File

@ -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);
}}
/>
)}
</>
);