Skip to content

Commit

Permalink
chore(version): updated bdp-ui patch fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0tuedon committed Nov 28, 2024
1 parent f5df006 commit 26b66de
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 35 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"prettier:fix": "prettier --write . --ignore-path .gitignore"
},
"dependencies": {
"@bitcoin-dev-project/bdp-ui": "^1.5.0",
"@bitcoin-dev-project/bdp-ui": "^1.5.1",
"@chakra-ui/react": "^2.0.0",
"@elastic/elasticsearch": "^8.8.0",
"@elastic/react-search-ui": "1.20.2",
Expand Down
66 changes: 32 additions & 34 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,41 +103,39 @@ export const App = () => {
!queryResult.data?.hits?.total["value"];

return (
<>
<div
className={`${
isHomePage ? "relative" : ""
} bg-custom-background text-custom-primary-text`}
<div
className={`${
isHomePage ? "relative" : ""
} bg-custom-background text-custom-primary-text`}
>
<main
id="main"
className="min-h-[95dvh] flex w-full items-center pt-[60px] md:pt-[76px] 2xl:pt-[122px]"
>
<main
id="main"
className="min-h-[95dvh] flex w-full items-center pt-[60px] md:pt-[76px] 2xl:pt-[122px]"
>
{isLoading && <LoadingBar />}
<NavBar />
<div className={`App btc-search w-full`}>
<HomeTextBanner className="flex flex-col gap-[1.25rem] text-center pb-[40px] md:pb-[88px]" />
<Layout
header={<Header openForm={openForm} />}
sideContent={<SideBar />}
bodyContent={<CustomResults shouldTrackClickThrough={true} />}
bodyHeader={<CustomPagingInfo />}
bodyFooter={<BodyFooter />}
/>
{noResult && <NoResults openForm={openForm} />}
<FormModal
formOpen={isOpen}
closeForm={closeForm}
noResult={noResult}
/>
</div>
</main>
{NoResults && isHomePage && <LandingPage />}
<section>
<Footer />
</section>
</div>
</>
{isLoading && <LoadingBar />}
<NavBar />
<div className={`App btc-search w-full`}>
<HomeTextBanner className="flex flex-col gap-[1.25rem] text-center pb-[40px] md:pb-[88px]" />
<Layout
header={<Header openForm={openForm} />}
sideContent={<SideBar />}
bodyContent={<CustomResults shouldTrackClickThrough={true} />}
bodyHeader={<CustomPagingInfo />}
bodyFooter={<BodyFooter />}
/>
{noResult && <NoResults openForm={openForm} />}
<FormModal
formOpen={isOpen}
closeForm={closeForm}
noResult={noResult}
/>
</div>
</main>
{NoResults && isHomePage && <LandingPage />}
<section>
<Footer />
</section>
</div>
);
};

Expand Down

0 comments on commit 26b66de

Please sign in to comment.