An ATproto social media client -- with an independent Appview.
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Prevent unecessary calls (#4561)

(cherry picked from commit ecb48797675c5be24508bf47141e930c64dac14e)

authored by

Eric Bailey and committed by
GitHub
4165a02b 983d8538

+1 -1
+1 -1
src/components/NewskieDialog.tsx
··· 30 30 const moderation = moderateProfile(profile, moderationOpts) 31 31 return sanitizeDisplayName(name, moderation.ui('displayName')) 32 32 }, [moderationOpts, profile]) 33 - const [now] = React.useState(Date.now()) 33 + const [now] = React.useState(() => Date.now()) 34 34 const timeAgo = useGetTimeAgo() 35 35 const createdAt = profile.createdAt as string | undefined 36 36 const daysOld = React.useMemo(() => {