fix(medusa, medusa-react): Typing of optional fields on multiple product endpoints (#2771)

This commit is contained in:
Kasper Fabricius Kristensen
2022-12-12 19:10:06 +01:00
committed by GitHub
parent 3464617553
commit c2c38dd091
6 changed files with 42 additions and 32 deletions
+6
View File
@@ -0,0 +1,6 @@
---
"@medusajs/medusa": patch
"medusa-react": patch
---
Adds appropriate optional type to several endpoint fields related to products. Also fixes the use of wrong payload type for `useAdminUpdateVariant` hook in `medusa-react`.