Skip to content
Snippets Groups Projects
Commit 75a815d9 authored by Lukas's avatar Lukas
Browse files

Wrap account page inside tabs provider

parent f4b37086
No related branches found
No related tags found
1 merge request!524Lbudginas/#424 add new tab on account page
...@@ -15,6 +15,7 @@ import AccountDetailsSection from "@/components/account/AccountDetailsSection"; ...@@ -15,6 +15,7 @@ import AccountDetailsSection from "@/components/account/AccountDetailsSection";
import MobileAccountNameCard from "@/components/account/MobileAccountNameCard"; import MobileAccountNameCard from "@/components/account/MobileAccountNameCard";
import { Button } from "@/components/ui/button"; import { Button } from "@/components/ui/button";
import AccountOperationViewTabs from "@/components/account/tabs/AccountOperationViewTabs"; import AccountOperationViewTabs from "@/components/account/tabs/AccountOperationViewTabs";
import { AccountTabsProvider } from "@/contexts/TabsContext";
interface AccountSearchParams { interface AccountSearchParams {
accountName?: string | undefined; accountName?: string | undefined;
...@@ -175,7 +176,7 @@ export default function Account() { ...@@ -175,7 +176,7 @@ export default function Account() {
} }
return ( return (
<> <AccountTabsProvider>
<Head> <Head>
<title>@{accountNameFromRoute} - Hive Explorer</title> <title>@{accountNameFromRoute} - Hive Explorer</title>
</Head> </Head>
...@@ -199,6 +200,6 @@ export default function Account() { ...@@ -199,6 +200,6 @@ export default function Account() {
<ScrollTopButton /> <ScrollTopButton />
</div> </div>
</div> </div>
</> </AccountTabsProvider>
); );
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment