refactor(AuthFilesPage): optimize provider list generation using useMemo for better performance

This commit is contained in:
thanhtunguet
2026-01-31 21:33:26 +07:00
parent fd1174e010
commit 01a69ff32b
2 changed files with 28 additions and 24 deletions

View File

@@ -1,3 +1,5 @@
@use '../../styles/variables' as *;
.container {
display: flex;
position: relative;
@@ -143,7 +145,8 @@
}
}
.sourceItem, .aliasItem {
.sourceItem,
.aliasItem {
cursor: grab;
&:active {
@@ -175,8 +178,7 @@
right: -3px;
}
.aliasItem {
}
.aliasItem {}
.providerBadge {
font-size: 11px;
@@ -320,4 +322,4 @@
&:hover {
background: var(--bg-error-light);
}
}
}