tenjin-ui-kit 0.3.31 → 0.3.33
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.
|
@@ -160,7 +160,7 @@ var GroupedSelect = function GroupedSelect(_ref) {
|
|
|
160
160
|
semibold: true
|
|
161
161
|
}, pageTitle !== null && pageTitle !== void 0 ? pageTitle : "N/A"), options.map(function (option) {
|
|
162
162
|
return /*#__PURE__*/React.createElement("div", {
|
|
163
|
-
key: option.id,
|
|
163
|
+
key: option === null || option === void 0 ? void 0 : option.id,
|
|
164
164
|
onClick: function onClick() {
|
|
165
165
|
return handleOptionClick(option.id);
|
|
166
166
|
},
|
|
@@ -173,7 +173,7 @@ var GroupedSelect = function GroupedSelect(_ref) {
|
|
|
173
173
|
style: {
|
|
174
174
|
padding: "8px 24px",
|
|
175
175
|
cursor: "pointer",
|
|
176
|
-
backgroundColor: value === option.id ? "#f0f0f7" : hoveredOption === option.id ? "#f5f5f5" : "transparent"
|
|
176
|
+
backgroundColor: value === (option === null || option === void 0 ? void 0 : option.id) ? "#f0f0f7" : hoveredOption === (option === null || option === void 0 ? void 0 : option.id) ? "#f5f5f5" : "transparent"
|
|
177
177
|
}
|
|
178
178
|
}, option.label);
|
|
179
179
|
}));
|