Skip to content

Commit a8eacdc

Browse files
committedSep 8, 2020
chore: cleaned now function
1 parent aeeeb96 commit a8eacdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/core/src/useNow.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function useNow() {
2424
if (hasWindow()) start()
2525
else onMounted(start)
2626

27-
onUnmounted(() => stop())
27+
onUnmounted(stop)
2828

2929
return now
3030
}

0 commit comments

Comments
 (0)