Skip to content

Commit 245224f

Browse files
committed
add comment for useId
1 parent d79755c commit 245224f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/giving-tuesday/Countdown.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import SbEditable from 'storyblok-react';
55
import CountdownPie from './CountdownPie';
66
import UseCountdown from '../../hooks/useCountdown';
77

8+
// use useId when it becomes available
89
const generateClassName = (key) =>
910
`${key}-${Math.floor(Math.random() * 100000, 5)}`;
1011

0 commit comments

Comments
 (0)