@lobehub/ui 2.1.14 → 2.1.15
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/es/Hotkey/Hotkey.js +1 -4
- package/package.json +1 -1
package/es/Hotkey/Hotkey.js
CHANGED
|
@@ -123,7 +123,6 @@ var Hotkey = /*#__PURE__*/memo(function (_ref2) {
|
|
|
123
123
|
_useState2 = _slicedToArray(_useState, 2),
|
|
124
124
|
keysGroup = _useState2[0],
|
|
125
125
|
setKeysGroup = _useState2[1];
|
|
126
|
-
var visibility = typeof window === 'undefined' ? 'hidden' : 'visible';
|
|
127
126
|
var isAppleDevice = useMemo(function () {
|
|
128
127
|
return checkIsAppleDevice(isApple);
|
|
129
128
|
}, [isApple]);
|
|
@@ -160,9 +159,7 @@ var Hotkey = /*#__PURE__*/memo(function (_ref2) {
|
|
|
160
159
|
className: className,
|
|
161
160
|
gap: isBorderless ? 6 : 2,
|
|
162
161
|
horizontal: true,
|
|
163
|
-
style:
|
|
164
|
-
visibility: visibility
|
|
165
|
-
}, style)
|
|
162
|
+
style: style
|
|
166
163
|
}, rest), {}, {
|
|
167
164
|
children: compact || isBorderless ? /*#__PURE__*/_jsx(Center, {
|
|
168
165
|
as: 'kbd',
|