fix: eslint error
parent
51e03f3edd
commit
47e5df9103
|
@ -49,7 +49,7 @@ const Comment = (
|
|||
actions && actions.length ? (
|
||||
<ul class={`${prefixCls}-actions`}>
|
||||
{actions.map((action, index) => (
|
||||
<li key={`action-${index}`}>{action}</li> // eslint-disable-line react/no-array-index-key
|
||||
<li key={`action-${index}`}>{action}</li>
|
||||
))}
|
||||
</ul>
|
||||
) : null;
|
||||
|
|
|
@ -18,7 +18,7 @@ export default function useFrameWheel(
|
|||
let nextFrame: number | null | undefined = null;
|
||||
|
||||
// Firefox patch
|
||||
let wheelValue: null = null;
|
||||
let wheelValue = null;
|
||||
let isMouseScroll = false;
|
||||
|
||||
// Scroll status sync
|
||||
|
|
|
@ -10,7 +10,7 @@ export default function useHeights<T>(
|
|||
): [(item: T, instance: HTMLElement) => void, () => void, CacheMap, Ref<number>] {
|
||||
const instance = new Map<VNodeProps['key'], HTMLElement>();
|
||||
const heights = reactive<CacheMap>({});
|
||||
let updatedMark = ref(0);
|
||||
const updatedMark = ref(0);
|
||||
let heightUpdateId = 0;
|
||||
function collectHeight() {
|
||||
heightUpdateId += 1;
|
||||
|
|
Loading…
Reference in New Issue