Use import for Sentry
#4395
-
Can I use import { init as initSentry } from "@sentry/nextjs"; instead of import * as Sentry from "@sentry/nextjs"; I don't know is there anything wrong with the first option. |
Beta Was this translation helpful? Give feedback.
Answered by
HazAT
Feb 1, 2022
Replies: 1 comment
-
You can absolutely do that, there is no issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
HazAT
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can absolutely do that, there is no issue.