@popsure/dirty-swan 0.30.4 → 0.30.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
1
  import classNames from 'classnames';
2
+ import { Fragment } from 'react';
2
3
  import { ScrollSync, ScrollSyncPane } from 'react-scroll-sync';
3
4
 
4
5
  import { AccordionItem } from './components/AccordionItem';
@@ -153,7 +154,7 @@ const ComparisonTable = <T extends { id: number }>(
153
154
  const idString = `headerGroup-${headerGroup.id}`;
154
155
 
155
156
  return (
156
- <>
157
+ <Fragment key={idString}>
157
158
  {headerGroup.label && collapsibleSections ? (
158
159
  <AccordionItem
159
160
  className="mt8"
@@ -162,7 +163,6 @@ const ComparisonTable = <T extends { id: number }>(
162
163
  isOpen={selectedSection === idString}
163
164
  onOpen={() => setSelectedSection(idString)}
164
165
  onClose={() => setSelectedSection('')}
165
- key={idString}
166
166
  >
167
167
  <ScrollSyncPane>
168
168
  <div
@@ -225,7 +225,7 @@ const ComparisonTable = <T extends { id: number }>(
225
225
  </ScrollSyncPane>
226
226
  </div>
227
227
  )}
228
- </>
228
+ </Fragment>
229
229
  );
230
230
  })}
231
231
  {hideDetails && (