mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-21 10:08:42 +08:00
perf: memoize the proxy col items (#1029)
This commit is contained in:
1 parent
b8599a0642
commit
4b9b5e861f
2 files changed
+15
-12
No files matched your search
@@ -122,7 +122,7 @@ export const ProxyGroups = (props: Props) => {
|
||||
return (
|
||||
<Virtuoso
|
||||
ref={virtuosoRef}
|
||||
style={{ height: "calc(100% - 12px)" }}
|
||||
style={{ height: "calc(100% - 16px)" }}
|
||||
totalCount={renderList.length}
|
||||
increaseViewportBy={256}
|
||||
itemContent={(index) => (
|
||||
|
||||
Reference in new issue
Block a user