Fix array destructuring bug in moveJustCreateUserToFirstRow
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -305,7 +305,7 @@ const moveJustCreateUserToFirstRow = () => {
|
|||||||
(user) => user.username === acctMgmtStore.justCreateUsername,
|
(user) => user.username === acctMgmtStore.justCreateUsername,
|
||||||
);
|
);
|
||||||
if (index !== -1) {
|
if (index !== -1) {
|
||||||
const [justCreateUser] = acctMgmtStore.allUserAccountList[index];
|
const justCreateUser = acctMgmtStore.allUserAccountList[index];
|
||||||
infiniteAcctData.value.unshift(justCreateUser);
|
infiniteAcctData.value.unshift(justCreateUser);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user