MCPcopy Create free account
hub / github.com/bjsi/incremental-everything / numberWithLabel

Function numberWithLabel

src/components/NextRepTime.tsx:27–29  ·  view source on GitHub ↗
(number: number, label: string)

Source from the content-addressed store, hash-verified

25}
26
27function numberWithLabel(number: number, label: string) {
28 return `${number} ${label}${number == 1 ? '' : 's'}`;
29}
30
31export function NextRepTime(props: NextRepTimeProps): React.ReactElement {
32 const [nextTime, setNextTime] = React.useState<number>();

Callers 1

durationToHumanReadableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected