From 0c333bd304acba61d3237acbdeb70d72e1817584 Mon Sep 17 00:00:00 2001 From: Connor 'Birb' McCormick Date: Sat, 17 Dec 2022 03:44:29 +1300 Subject: [PATCH] fix(useTimeAgo): add `showSecond` prop to component (#2547) --- packages/core/useTimeAgo/component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/useTimeAgo/component.ts b/packages/core/useTimeAgo/component.ts index 67deaca5fb4..6cd033701af 100644 --- a/packages/core/useTimeAgo/component.ts +++ b/packages/core/useTimeAgo/component.ts @@ -9,7 +9,7 @@ interface UseTimeAgoComponentOptions extends Omit, 'cont export const UseTimeAgo = defineComponent({ name: 'UseTimeAgo', - props: ['time', 'updateInterval', 'max', 'fullDateFormatter', 'messages'] as unknown as undefined, + props: ['time', 'updateInterval', 'max', 'fullDateFormatter', 'messages', 'showSecond'] as unknown as undefined, setup(props, { slots }) { const data = reactive(useTimeAgo(() => props.time as number, { ...props, controls: true }))