fix: resolve rendering issue caused by duplicate node names

This commit is contained in:
wonfen
2025-04-02 12:48:17 +08:00
parent 5e11d36972
commit 7d7c8988d7
4 changed files with 6 additions and 6 deletions

View File

@@ -567,14 +567,14 @@ export const CurrentProxyCard = () => {
>
{isDirectMode
? null
: proxyOptions.map((proxy) => {
: proxyOptions.map((proxy, index) => {
const delayValue = delayManager.getDelayFix(
state.proxyData.records[proxy.name],
state.selection.group,
);
return (
<MenuItem
key={proxy.name}
key={`${proxy.name}-${index}`}
value={proxy.name}
sx={{
display: "flex",