mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-02-14 12:47:33 +00:00
refactor(dateUtils): update type annotation for formatTimeAgo function
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
export const formatTimeAgo = (dateString: string, currentTime: Date, t:any) => {
|
||||
import { TFunction } from 'i18next';
|
||||
|
||||
export const formatTimeAgo = (dateString: string, currentTime: Date, t: TFunction) => {
|
||||
const date = new Date(dateString);
|
||||
const now = currentTime;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user