(count: number, Item: () => React.JSX.Element)
| 37 | }); |
| 38 | |
| 39 | function repeatItems(count: number, Item: () => React.JSX.Element): React.JSX.Element[] { |
| 40 | return Array.from({length: count}, () => <Item style={{borderRadius: '2px'}} />); |
| 41 | } |
| 42 | |
| 43 | async function add(commitHash: HTMLElement): Promise<void> { |
| 44 | const commitSha = location.pathname.split('/').pop()!; |