Skip to content

Commit

Permalink
Addon-jest: fix console warning (#7705)
Browse files Browse the repository at this point in the history
Addon-jest: fix console warning
  • Loading branch information
shilman authored Aug 7, 2019
2 parents 371c78f + 2587acf commit a10517d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/jest/src/components/Panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ const Content = styled(({ tests, className }: ContentProps) => (
const passingRate = ((successNumber / result.assertionResults.length) * 100).toFixed(2);

return (
<SizeMe refreshMode="debounce">
<SizeMe refreshMode="debounce" key={name}>
{({ size }: { size: any }) => {
const { width } = size;
return (
<section key={name}>
<section>
<SuiteHead>
<SuiteTotals {...{ successNumber, failedNumber, result, passingRate, width }} />
{width > 240 ? (
Expand Down

0 comments on commit a10517d

Please sign in to comment.