Skip to content

Commit bd5cb39

Browse files
committed
fix lint warning
1 parent bd93019 commit bd5cb39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/util.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export function loopMenuItemRecursively(
6363
return;
6464
}
6565
if (keys.indexOf((c as any).key) !== -1) {
66+
// eslint-disable-next-line no-param-reassign
6667
ret.find = true;
6768
} else if (c.props.children) {
6869
loopMenuItemRecursively(c.props.children, keys, ret);
@@ -157,6 +158,7 @@ export const setStyle = (
157158
value: string | number,
158159
) => {
159160
if (elem && typeof elem.style === 'object') {
161+
// eslint-disable-next-line no-param-reassign
160162
elem.style[styleProperty] = value;
161163
}
162164
};

0 commit comments

Comments
 (0)