From 8e6bf990069b9c3ae033321b5aeb4d46fa6501e6 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Wed, 7 Dec 2022 09:06:10 -0300
Subject: no-fix: move pagestate provider to app component and move some common
 hooks to web-utils

---
 packages/demobank-ui/src/components/app.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'packages/demobank-ui/src/components/app.tsx')

diff --git a/packages/demobank-ui/src/components/app.tsx b/packages/demobank-ui/src/components/app.tsx
index 49b218205..91410a485 100644
--- a/packages/demobank-ui/src/components/app.tsx
+++ b/packages/demobank-ui/src/components/app.tsx
@@ -1,11 +1,14 @@
 import { h, FunctionalComponent } from "preact";
+import { PageStateProvider } from "../context/pageState.js";
 import { TranslationProvider } from "../context/translation.js";
 import { BankHome } from "../pages/home/index.js";
 
 const App: FunctionalComponent = () => {
   return (
     <TranslationProvider>
-      <BankHome />
+      <PageStateProvider>
+        <BankHome />
+      </PageStateProvider>
     </TranslationProvider>
   );
 };
-- 
cgit v1.2.3

