diff --git a/.changeset/thick-deers-guess.md b/.changeset/thick-deers-guess.md new file mode 100644 index 0000000000..9d8e99ab9b --- /dev/null +++ b/.changeset/thick-deers-guess.md @@ -0,0 +1,5 @@ +--- +"@medusajs/dashboard": patch +--- + +fix(dashboard): Fix size of buttons and use Link to navigate diff --git a/packages/admin/dashboard/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx b/packages/admin/dashboard/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx index 2d412c8b51..8ad3896440 100644 --- a/packages/admin/dashboard/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx +++ b/packages/admin/dashboard/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx @@ -1,6 +1,6 @@ import { ReactNode, useMemo, useState } from "react" import { useTranslation } from "react-i18next" -import { useNavigate } from "react-router-dom" +import { Link, useNavigate } from "react-router-dom" import { ArrowDownRightMini, @@ -18,9 +18,9 @@ import { AdminOrder, AdminOrderLineItem, AdminOrderPreview, + AdminPaymentCollection, AdminRegion, AdminReturn, - AdminPaymentCollection, } from "@medusajs/types" import { Badge, @@ -188,16 +188,12 @@ export const OrderSummarySection = ({ order }: OrderSummarySectionProps) => {