We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aeeeb96 commit a8eacdcCopy full SHA for a8eacdc
packages/core/src/useNow.ts
@@ -24,7 +24,7 @@ export function useNow() {
24
if (hasWindow()) start()
25
else onMounted(start)
26
27
- onUnmounted(() => stop())
+ onUnmounted(stop)
28
29
return now
30
}
0 commit comments