fix(): Pricing preference context loss (#13626)

**What**
The context reference is being mutated by the repository leading to an empty context. Also, the filter is built from the pricing context instead of pricing context -> context leading to always fetch all preferences all the time
This commit is contained in:
Adrien de Peretti
2025-09-30 14:38:04 +02:00
committed by GitHub
parent 087887fefb
commit 9c7c1d48c7
7 changed files with 111 additions and 65 deletions

View File

@@ -51,7 +51,7 @@
"@medusajs/icons": "2.10.3",
"@medusajs/test-utils": "2.10.3",
"@medusajs/types": "2.10.3",
"@medusajs/ui": "4.0.21",
"@medusajs/ui": "4.0.23",
"@medusajs/ui-preset": "2.10.3",
"@swc/core": "1.5.7",
"@types/lodash": "^4.17.15",
@@ -74,7 +74,7 @@
"@medusajs/framework": "2.10.3",
"@medusajs/icons": "2.10.3",
"@medusajs/test-utils": "2.10.3",
"@medusajs/ui": "4.0.21",
"@medusajs/ui": "4.0.23",
"lodash": "^4.17.21",
"react-router-dom": "6.20.1"
},