Skip to content

Commit

Permalink
fix: Remove doubled Add new address button (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
soniaklimas authored Oct 9, 2024
1 parent 743b682 commit 75da27f
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions apps/storefront/src/app/[locale]/(main)/account/addresses/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,22 +195,6 @@ export default async function Page({
</div>
),
)}
<AddNewAddressModal
addressFormRows={addressFormRows}
countries={countries}
countryCode={countryCode}
>
<Button
asChild
variant="outline"
className="mt-4 flex items-center gap-1 sm:hidden"
>
<Link href={paths.account.addresses.asPath()}>
<PlusIcon className="h-4 w-4" />
{t("address.add-new-address")}
</Link>
</Button>
</AddNewAddressModal>
</div>
);
}

0 comments on commit 75da27f

Please sign in to comment.