Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 | 3x 65x 3x | // a unit formatter is a function that takes a single argument, being the number // shown on the countdown, and returns the label of the unit to display export const unitFormatterSeconds = seconds => { return (seconds.toString() === '1' ? 'second' : 'seconds') } export const unitFormatterBlank = () => '' |