diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/merchant-backoffice-ui/src/hooks/templates.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/merchant-backoffice-ui/src/hooks/templates.ts b/packages/merchant-backoffice-ui/src/hooks/templates.ts index 97fb165b9..4fef7b424 100644 --- a/packages/merchant-backoffice-ui/src/hooks/templates.ts +++ b/packages/merchant-backoffice-ui/src/hooks/templates.ts @@ -245,9 +245,7 @@ export function useTemplateDetails( if (isValidating) return { loading: true, data: data?.data }; if (data) { - const d = structuredClone(data); - d.data.pos_algorithm = 1; - return d; + return data; } if (error) return error.info; return { loading: true }; |