From f45ef767016a425d04cce7755b27aceff292603c Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Thu, 24 Mar 2022 16:02:38 -0300
Subject: esbuild configuration

---
 .../taler-wallet-webextension/src/components/LogoHeader.tsx | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

(limited to 'packages/taler-wallet-webextension/src/components/LogoHeader.tsx')

diff --git a/packages/taler-wallet-webextension/src/components/LogoHeader.tsx b/packages/taler-wallet-webextension/src/components/LogoHeader.tsx
index 6c47dc92a..573221614 100644
--- a/packages/taler-wallet-webextension/src/components/LogoHeader.tsx
+++ b/packages/taler-wallet-webextension/src/components/LogoHeader.tsx
@@ -15,6 +15,7 @@
  */
 
 import { h } from "preact";
+import logo from "../svg/logo-2021.svg";
 
 export function LogoHeader() {
   return (
@@ -25,14 +26,10 @@ export function LogoHeader() {
         margin: "2em",
       }}
     >
-      <img
-        style={{
-          width: 150,
-          height: 70,
-        }}
-        src="/static/img/logo-2021.svg"
-        width="150"
-      />
+      <div
+        style={{ width: 150, height: 70 }}
+        dangerouslySetInnerHTML={{ __html: logo }}
+      ></div>
     </div>
   );
 }
-- 
cgit v1.2.3

