aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/src/paths/instance/templates/qr/index.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-03-12 23:56:54 -0300
committerSebastian <sebasjm@gmail.com>2023-03-12 23:56:54 -0300
commitb874f9a0c50084803de58febb698864aa8dd061a (patch)
tree50f23d8faa674a94646a21c5821fd4f494c60f64 /packages/merchant-backoffice-ui/src/paths/instance/templates/qr/index.tsx
parentae1aee13581469a8398321b57e95cc85f210047b (diff)
downloadwallet-core-b874f9a0c50084803de58febb698864aa8dd061a.tar.xz
print and setup totp
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/templates/qr/index.tsx')
-rw-r--r--packages/merchant-backoffice-ui/src/paths/instance/templates/qr/index.tsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/templates/qr/index.tsx b/packages/merchant-backoffice-ui/src/paths/instance/templates/qr/index.tsx
index 97d25b700..044cc7d79 100644
--- a/packages/merchant-backoffice-ui/src/paths/instance/templates/qr/index.tsx
+++ b/packages/merchant-backoffice-ui/src/paths/instance/templates/qr/index.tsx
@@ -51,10 +51,8 @@ export default function TemplateQrPage({
onNotFound,
onUnauthorized,
}: Props): VNode {
- const { createOrderFromTemplate } = useTemplateAPI();
const result = useTemplateDetails(tid);
const [notif, setNotif] = useState<Notification | undefined>(undefined);
- const { i18n } = useTranslationContext();
if (result.clientError && result.isUnauthorized) return onUnauthorized();
if (result.clientError && result.isNotfound) return onNotFound();