Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
0101oak committed Sep 9, 2024
1 parent ffdde7a commit 08efdc7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion proto
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ export const BasicFields: FC<BasicProductFieldsInterface> = ({
return parseWellKnownTimestamp(dateString || '0001-01-01T00:00:00Z');
};

console.log(dictionary?.categories?.length); // Should log 20
console.log(dictionary?.categories); // Inspect if any category is missing

useEffect(() => {
const { salePercentage, preorder } = values.product?.productBody || {};
const saleValue = salePercentage?.value || '';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ export const categoryMeasurementsMapping: { [key in common_CategoryEnum]?: commo
CATEGORY_ENUM_OTHER: [
"MEASUREMENT_NAME_ENUM_LENGTH",
"MEASUREMENT_NAME_ENUM_WIDTH"
],
CATEGORY_ENUM_BAG: [
"MEASUREMENT_NAME_ENUM_HEIGHT",
"MEASUREMENT_NAME_ENUM_WIDTH"
]

};

0 comments on commit 08efdc7

Please sign in to comment.