fix typo in transformProduct export
All checks were successful
Deploy Amap / deploy (push) Successful in 36s
All checks were successful
Deploy Amap / deploy (push) Successful in 36s
This commit is contained in:
@@ -56,7 +56,7 @@ export type ContractProductCreate = {
|
|||||||
quantity: number;
|
quantity: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export function tranformProducts(
|
export function transformProducts(
|
||||||
products: Record<string, string | number>,
|
products: Record<string, string | number>,
|
||||||
): ContractProductCreate[] {
|
): ContractProductCreate[] {
|
||||||
return Object.entries(products).map(([key, value]) => {
|
return Object.entries(products).map(([key, value]) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user