mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-14 00:19:16 +01:00
fix: send UI error tracking (#8725)
Put error boundary inside of stats provider.
This commit is contained in:
parent
c6519cd95d
commit
fecf57c467
@ -49,11 +49,11 @@ const ApplicationRoot = () => {
|
||||
<QueryParamProvider adapter={ReactRouter6Adapter}>
|
||||
<ThemeProvider>
|
||||
<AnnouncerProvider>
|
||||
<ErrorBoundary
|
||||
FallbackComponent={LayoutError}
|
||||
onError={sendErrorToApi}
|
||||
>
|
||||
<PlausibleProvider>
|
||||
<PlausibleProvider>
|
||||
<ErrorBoundary
|
||||
FallbackComponent={LayoutError}
|
||||
onError={sendErrorToApi}
|
||||
>
|
||||
<FeedbackProvider>
|
||||
<FeedbackCESProvider>
|
||||
<StickyProvider>
|
||||
@ -66,8 +66,8 @@ const ApplicationRoot = () => {
|
||||
</StickyProvider>
|
||||
</FeedbackCESProvider>
|
||||
</FeedbackProvider>
|
||||
</PlausibleProvider>
|
||||
</ErrorBoundary>
|
||||
</ErrorBoundary>
|
||||
</PlausibleProvider>
|
||||
</AnnouncerProvider>
|
||||
</ThemeProvider>
|
||||
</QueryParamProvider>
|
||||
|
Loading…
Reference in New Issue
Block a user