Use status ID instead of passing status objects (#39727)

This commit is contained in:
Echo authored and GitHub committed 2026-07-06 13:00:27 +00:00
1 parent dff66fe890
commit ea07161698
16 files changed
+145 -157

No files matched your search

@@ -55,8 +55,8 @@ export function makeGetAccount() {
}
export const selectPlainAccount = createAppSelector(
[(state, accountId: string) => state.accounts.get(accountId)],
(account) => (account ? (account.toJS() as AccountShapeFull) : null),
[(state, accountId?: string | null) => state.accounts.get(accountId ?? '')],
(account) => (account?.toJS() as AccountShapeFull | undefined) ?? null,
);
export const selectIsAccountLocal = createAppSelector(