main
| 1 | import { HttpTypes } from "@medusajs/types" |
| 2 | import { UIMatch } from "react-router-dom" |
| 3 | |
| 4 | export const ProductOptionValueBreadcrumb = ( |
| 5 | match: UIMatch<HttpTypes.AdminProductOptionValueResponse> |
| 6 | ) => { |
| 7 | const productOptionValue = match.loaderData?.product_option_value |
| 8 | |
| 9 | if (!productOptionValue) { |
| 10 | return null |
| 11 | } |
| 12 | |
| 13 | return <span>{productOptionValue.value}</span> |
| 14 | } |