fix(banking): miscellaneous bug fixes (backport #55492) (#55979)

This commit is contained in:
mergify[bot]
2026-06-16 18:43:19 +05:30
committed by GitHub
parent 395e57171e
commit 3243e4237a
38 changed files with 3685 additions and 3418 deletions

View File

@@ -20,7 +20,7 @@ export const Preferences = () => {
const { updateDoc, error } = useFrappeUpdateDoc<AccountsSettings>()
const onUpdate = (field: keyof AccountsSettings, value: any) => {
const onUpdate = <K extends keyof AccountsSettings>(field: K, value: AccountsSettings[K]) => {
mutate(updateDoc("Accounts Settings", "Accounts Settings", {
[field]: value
}), {