diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-11-03 20:12:32 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-11-03 20:12:32 +0100 |
commit | d00f7a4a0187b61257d9ff5703dfb4245d50eece (patch) | |
tree | aff6ff61908a332099e55cff9ce1035225f8cb04 /packages/merchant-backoffice-ui/src/paths | |
parent | 0a604ee3ea1f1c43dfbe74d74f571329136e3749 (diff) | |
download | wallet-core-d00f7a4a0187b61257d9ff5703dfb4245d50eece.tar.xz |
-fix typos
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/admin/list/TableActive.tsx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/admin/list/TableActive.tsx b/packages/merchant-backoffice-ui/src/paths/admin/list/TableActive.tsx index 928658910..56b3f299c 100644 --- a/packages/merchant-backoffice-ui/src/paths/admin/list/TableActive.tsx +++ b/packages/merchant-backoffice-ui/src/paths/admin/list/TableActive.tsx @@ -175,10 +175,8 @@ function notEmpty<TValue>(value: TValue | null | undefined): value is TValue { return value !== null && value !== undefined; } -function buildActions(intances: MerchantBackend.Instances.Instance[], selected: string[], action: 'DELETE'): Actions[] { - return selected.map(id => intances.find(i => i.id === id)) +function buildActions(instances: MerchantBackend.Instances.Instance[], selected: string[], action: 'DELETE'): Actions[] { + return selected.map(id => instances.find(i => i.id === id)) .filter(notEmpty) .map(id => ({ element: id, type: action })) } - - |