Skip to content

Commit

Permalink
Cleanup injection point and place the store credit after the Orders s…
Browse files Browse the repository at this point in the history
…ection
  • Loading branch information
paales committed Jan 16, 2025
1 parent 3e91863 commit db14914
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 20 deletions.
8 changes: 0 additions & 8 deletions .changeset/smooth-dolls-destroy.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/feature-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ Features taken from the Magento Commerce 2 Feature List
- [x] See order status and history.
- [ ] Re-order from the customer account. — [Todo]
- [x] View recently ordered items.
- [ ] Track available store credits, gift card totals, and reward points. —
- [x] Track available store credits, gift card totals, and reward points. —
[Commerce]
- [x] Manage newsletter subscriptions.
- [x] View submitted product reviews.
Expand Down
2 changes: 0 additions & 2 deletions examples/magento-graphcms/pages/account/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
getCustomerAccountIsDisabled,
OrderStateLabelInline,
SignOutForm,
StoreCreditAccountMenuItem,
useCustomerQuery,
WaitForCustomer,
} from '@graphcommerce/magento-customer'
Expand Down Expand Up @@ -127,7 +126,6 @@ function AccountIndexPage() {
'&:hover': { background: theme.palette.background.paper },
})}
/>
<StoreCreditAccountMenuItem customer={customer} />
{import.meta.graphCommerce.magentoVersion >= 246 &&
import.meta.graphCommerce.customerDeleteEnabled && (
<AccountMenuItem
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion packages/magento-customer/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export * from './SignOutForm/SignOutForm'
export * from './SignUpForm/SignUp.gql'
export * from './SignUpForm/SignUpForm'
export * from './SignUpForm/SignUpFormInline'
export * from './StoreCreditAccountMenuItem/StoreCreditAccountMenuItem'
export * from './UpdateCustomerEmailForm/UpdateCustomerEmailForm'
export * from './UpdateDefaultAddressForm/UpdateDefaultAddressForm'
export * from './WaitForCustomer/WaitForCustomer'

0 comments on commit db14914

Please sign in to comment.