Fix array destructuring bug in moveJustCreateUserToFirstRow
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
ac4405068f
commit
8f610f1244
1 file changed
+1
-1
@@ -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