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. |
Answered by
HazAT
Feb 1, 2022
Replies: 1 comment
|
You can absolutely do that, there is no issue. |
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.