Skip to content

Commit

Permalink
fix: send UI error tracking (#8725)
Browse files Browse the repository at this point in the history
Put error boundary inside of stats provider.
  • Loading branch information
Tymek authored Nov 13, 2024
1 parent c6519cd commit fecf57c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions frontend/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -66,8 +66,8 @@ const ApplicationRoot = () => {
</StickyProvider>
</FeedbackCESProvider>
</FeedbackProvider>
</PlausibleProvider>
</ErrorBoundary>
</ErrorBoundary>
</PlausibleProvider>
</AnnouncerProvider>
</ThemeProvider>
</QueryParamProvider>
Expand Down

0 comments on commit fecf57c

Please sign in to comment.