From 8ddc551cc83a81ade3206e6e04c516ff15215993 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Fri, 10 Mar 2023 01:25:22 -0300
Subject: remove webui from login url, ad qr for template, fix navbar size,

---
 .../merchant-backoffice-ui/src/Application.tsx     | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

(limited to 'packages/merchant-backoffice-ui/src/Application.tsx')

diff --git a/packages/merchant-backoffice-ui/src/Application.tsx b/packages/merchant-backoffice-ui/src/Application.tsx
index 84536396d..ed1fc69f3 100644
--- a/packages/merchant-backoffice-ui/src/Application.tsx
+++ b/packages/merchant-backoffice-ui/src/Application.tsx
@@ -23,7 +23,7 @@ import {
   TranslationProvider,
   useTranslationContext,
 } from "@gnu-taler/web-util/lib/index.browser";
-import { h, VNode } from "preact";
+import { Fragment, h, VNode } from "preact";
 import { route } from "preact-router";
 import { useMemo } from "preact/hooks";
 import { ApplicationReadyRoutes } from "./ApplicationReadyRoutes.js";
@@ -70,24 +70,24 @@ function ApplicationStatusRoutes(): VNode {
 
   if (!triedToLog) {
     return (
-      <div id="app">
+      <Fragment>
         <NotYetReadyAppMenu title="Welcome!" />
         <LoginPage onConfirm={updateLoginInfoAndGoToRoot} />
-      </div>
+      </Fragment>
     );
   }
 
   if (result.clientError && result.isUnauthorized)
     return (
-      <div id="app">
+      <Fragment>
         <NotYetReadyAppMenu title="Login" />
         <LoginPage onConfirm={updateLoginInfoAndGoToRoot} />
-      </div>
+      </Fragment>
     );
 
   if (result.clientError && result.isNotfound)
     return (
-      <div id="app">
+      <Fragment>
         <NotYetReadyAppMenu title="Error" />
         <NotificationCard
           notification={{
@@ -97,12 +97,12 @@ function ApplicationStatusRoutes(): VNode {
           }}
         />
         <LoginPage onConfirm={updateLoginInfoAndGoToRoot} />
-      </div>
+      </Fragment>
     );
 
   if (result.serverError)
     return (
-      <div id="app">
+      <Fragment>
         <NotYetReadyAppMenu title="Error" />
         <NotificationCard
           notification={{
@@ -112,14 +112,14 @@ function ApplicationStatusRoutes(): VNode {
           }}
         />
         <LoginPage onConfirm={updateLoginInfoAndGoToRoot} />
-      </div>
+      </Fragment>
     );
 
   if (result.loading) return <Loading />;
 
   if (!result.ok)
     return (
-      <div id="app">
+      <Fragment>
         <NotYetReadyAppMenu title="Error" />
         <NotificationCard
           notification={{
@@ -129,7 +129,7 @@ function ApplicationStatusRoutes(): VNode {
           }}
         />
         <LoginPage onConfirm={updateLoginInfoAndGoToRoot} />
-      </div>
+      </Fragment>
     );
 
   return (
-- 
cgit v1.2.3

