({ user }: { user: User })
| 84 | } |
| 85 | |
| 86 | export const useSentryIdentifyOrganization = ({ user }: { user: User }) => { |
| 87 | useEffect(() => { |
| 88 | Sentry.setUser({ |
| 89 | id: user.id, |
| 90 | email: user.email, |
| 91 | }); |
| 92 | }, [user]); |
| 93 | }; |
| 94 | |
| 95 | /** React router <Routes /> component wrapped with Sentry tracing */ |
| 96 | export const SentryRoutes = |
no outgoing calls
no test coverage detected