aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-03-13 11:50:52 -0300
committerSebastian <sebasjm@gmail.com>2023-03-13 11:50:52 -0300
commit64c3cbc1dbc94c207bece0b9f6a399cdacd8dc22 (patch)
tree3156896f6a04aa612bbade1a717588746963dbe4 /packages/merchant-backoffice-ui
parent96d110379e9bfbffedfeebf44c1c972b12fffff4 (diff)
remove workaround
Diffstat (limited to 'packages/merchant-backoffice-ui')
-rw-r--r--packages/merchant-backoffice-ui/src/hooks/templates.ts4
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 };