about summary refs log tree commit diff
path: root/src/components/NewskieDialog.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/NewskieDialog.tsx')
-rw-r--r--src/components/NewskieDialog.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/NewskieDialog.tsx b/src/components/NewskieDialog.tsx
index 789a42d5f..281430e31 100644
--- a/src/components/NewskieDialog.tsx
+++ b/src/components/NewskieDialog.tsx
@@ -30,7 +30,7 @@ export function NewskieDialog({
     const moderation = moderateProfile(profile, moderationOpts)
     return sanitizeDisplayName(name, moderation.ui('displayName'))
   }, [moderationOpts, profile])
-  const [now] = React.useState(Date.now())
+  const [now] = React.useState(() => Date.now())
   const timeAgo = useGetTimeAgo()
   const createdAt = profile.createdAt as string | undefined
   const daysOld = React.useMemo(() => {