Skip to content

hooks/useMinuteTick

import { … } from 'zidane-ui'ui/src/hooks/useMinuteTick.ts

Functions#

useMinuteTickFunction#

Re-renders the caller once a minute (and when the window shows again); read Date.now() for the time.

TypeScript
function useMinuteTick(): void

ui/src/hooks/useMinuteTick.ts:47