mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
cleanup, add sorting
This commit is contained in:
@@ -36,7 +36,7 @@ type normalizedProductOption = {
|
||||
const normalizeProductOption = ({
|
||||
id,
|
||||
name: displayName = '',
|
||||
values,
|
||||
values = [],
|
||||
}: ProductOption) => {
|
||||
let returnValues = values.map((value) => {
|
||||
let output: any = {
|
||||
|
Reference in New Issue
Block a user