mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-03-01 12:07:37 +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 date = new Date(dateString);
|
||||||
const now = currentTime;
|
const now = currentTime;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user