fix(admin-ui): disabling analytics when opted out (#4939)

* fixes #4423 by either using the `useAnalytics` hook or using an ErrorBoundary specific instance

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
Juan Pablo Orsay
2023-09-11 12:40:15 +02:00
committed by GitHub
parent 6273b4b160
commit 87e3a7d06a
6 changed files with 53 additions and 29 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/admin-ui": patch
---
correctly skipping analytics when user opted out