enahnce(view):去掉调试语句。
This commit is contained in:
parent
b17b3d308e
commit
31fb8521b8
|
@ -17,7 +17,6 @@ export const ContinuationView: FC = () => {
|
||||||
const virtualListRef = useRef<VariableSizeList | null>();
|
const virtualListRef = useRef<VariableSizeList | null>();
|
||||||
const handleOnRenderAction = useCallback(
|
const handleOnRenderAction = useCallback(
|
||||||
({ visibleStartIndex, visibleStopIndex }) => {
|
({ visibleStartIndex, visibleStopIndex }) => {
|
||||||
console.log('[debug]on render:', visibleStartIndex, visibleStopIndex);
|
|
||||||
updateActives(map(i => files[i].filename, range(visibleStartIndex, visibleStopIndex + 1)));
|
updateActives(map(i => files[i].filename, range(visibleStartIndex, visibleStopIndex + 1)));
|
||||||
},
|
},
|
||||||
[files]
|
[files]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user