refactor(dayjs): Refactor internationalized time formatting feature (#22870) (#22872)

This commit is contained in:
HyaCinth 2025-07-24 10:42:33 +08:00 • committed by GitHub
commit b8504ac7d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 13 additions and 34 deletions

View file

@ -1,6 +1,6 @@
import { memo, useMemo } from 'react'
import { useTranslation } from 'react-i18next'
import { useFormatTimeFromNow } from '../hooks'
import { useFormatTimeFromNow } from '@/hooks/use-format-time-from-now'
import { useStore } from '../store'
import { WorkflowVersion } from '../types'
import useTimestamp from '@/hooks/use-timestamp'