Skip to content

Commit

Permalink
chore: update test and kitchen sink to work with React 19 (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
sissbruecker authored Feb 13, 2025
1 parent 9f011f1 commit d46cf12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dev/kitchen-sink/Row1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function Row1() {
<div>Accordion content 2</div>
</AccordionPanel>
</Accordion>
<AvatarGroup prefix="Users: " items={[{ name: 'Jane Roe', abbr: 'JD' }]}></AvatarGroup>
<AvatarGroup items={[{ name: 'Jane Roe', abbr: 'JD' }]}></AvatarGroup>
<Chart title="Chart" style={{ height: '300px' }}>
<ChartSeries title="Items" type="bar" values={[10, 20, 30]}></ChartSeries>
</Chart>
Expand Down
1 change: 1 addition & 0 deletions test/Popover.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ describe('Popover', () => {

async function assert() {
await new Promise((r) => requestAnimationFrame(r));
await new Promise((r) => requestAnimationFrame(r));

const overlay = document.querySelector(overlayTag);
expect(overlay).to.exist;
Expand Down

0 comments on commit d46cf12

Please # to comment.