aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/update
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2024-09-02 14:59:09 -0300
committerSebastian <sebasjm@gmail.com>2024-09-02 14:59:23 -0300
commitb52b13ddae1dfcb2866f0e55de5617681165b7de (patch)
treeef127ca69f125cb57b36340ad628fb255b6667bd /packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/update
parent5bdefcf53d0bbad5b3c9474fab9b0cfa6eafeae9 (diff)
downloadwallet-core-b52b13ddae1dfcb2866f0e55de5617681165b7de.tar.xz
when error happen there is no garantee that taler error details is present, so undefined should be set
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/update')
-rw-r--r--packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/update/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/update/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/update/index.tsx
index 287cc7a51..92b015d13 100644
--- a/packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/update/index.tsx
+++ b/packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/update/index.tsx
@@ -105,7 +105,7 @@ export default function UpdateTokenFamily({
setNotif({
message: i18n.str`Could not update token family`,
type: "ERROR",
- description: resp.detail.hint,
+ description: resp.detail?.hint,
});
}
})