@popsure/dirty-swan 0.27.16 → 0.27.17
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.
package/package.json
CHANGED
|
@@ -149,6 +149,8 @@ const ComparisonTable = <T extends { id: number }>(
|
|
|
149
149
|
);
|
|
150
150
|
});
|
|
151
151
|
|
|
152
|
+
const idString = `headerGroup-${headerGroup.id}`;
|
|
153
|
+
|
|
152
154
|
return (
|
|
153
155
|
<>
|
|
154
156
|
{headerGroup.label && collapsibleSections ? (
|
|
@@ -156,12 +158,10 @@ const ComparisonTable = <T extends { id: number }>(
|
|
|
156
158
|
className="mt8"
|
|
157
159
|
label={headerGroup.label}
|
|
158
160
|
headerClassName="p24 br8"
|
|
159
|
-
isOpen={selectedSection ===
|
|
160
|
-
onOpen={() =>
|
|
161
|
-
setSelectedSection(String(headerGroup.label))
|
|
162
|
-
}
|
|
161
|
+
isOpen={selectedSection === idString}
|
|
162
|
+
onOpen={() => setSelectedSection(idString)}
|
|
163
163
|
onClose={() => setSelectedSection('')}
|
|
164
|
-
key={
|
|
164
|
+
key={idString}
|
|
165
165
|
>
|
|
166
166
|
<ScrollSyncPane>
|
|
167
167
|
<div
|