We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd93019 commit bd5cb39Copy full SHA for bd5cb39
src/util.ts
@@ -63,6 +63,7 @@ export function loopMenuItemRecursively(
63
return;
64
}
65
if (keys.indexOf((c as any).key) !== -1) {
66
+ // eslint-disable-next-line no-param-reassign
67
ret.find = true;
68
} else if (c.props.children) {
69
loopMenuItemRecursively(c.props.children, keys, ret);
@@ -157,6 +158,7 @@ export const setStyle = (
157
158
value: string | number,
159
) => {
160
if (elem && typeof elem.style === 'object') {
161
162
elem.style[styleProperty] = value;
163
164
};
0 commit comments