Skip to content

Commit

Permalink
chore(core): remove the account status providers
Browse files Browse the repository at this point in the history
  • Loading branch information
chanceaclark committed Dec 12, 2024
1 parent 18dfe5d commit cf4c191
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 63 deletions.
5 changes: 5 additions & 0 deletions .changeset/old-bananas-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/catalyst-core": minor
---

Remove the account state provider components

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 1 addition & 5 deletions core/app/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,10 @@ import { PropsWithChildren } from 'react';
import { CartProvider } from '~/components/header/cart-provider';
import { CompareDrawerProvider } from '~/components/ui/compare-drawer';

import { AccountStatusProvider } from './[locale]/(default)/account/_components/account-status-provider';

export function Providers({ children }: PropsWithChildren) {
return (
<CartProvider>
<AccountStatusProvider>
<CompareDrawerProvider>{children}</CompareDrawerProvider>
</AccountStatusProvider>
<CompareDrawerProvider>{children}</CompareDrawerProvider>
</CartProvider>
);
}

0 comments on commit cf4c191

Please sign in to comment.