diff options
author | Sebastian <sebasjm@gmail.com> | 2022-12-07 09:06:10 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-12-07 16:08:14 -0300 |
commit | 8e6bf990069b9c3ae033321b5aeb4d46fa6501e6 (patch) | |
tree | fea00d6b97e4d351eadc1e36feeddb4bc9e55816 /packages/demobank-ui/src/components | |
parent | 2dc3eb0ddd7efe4fd63a51a3aa9b36863d9a1fcb (diff) | |
download | wallet-core-8e6bf990069b9c3ae033321b5aeb4d46fa6501e6.tar.xz |
no-fix: move pagestate provider to app component and move some common hooks to web-utils
Diffstat (limited to 'packages/demobank-ui/src/components')
-rw-r--r-- | packages/demobank-ui/src/components/app.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
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> ); }; |