Skip to content

Add id to inline Segment script#32878

Merged
kodiakhq[bot] merged 2 commits intovercel:canaryfrom
sgallese:patch-1
Dec 28, 2021
Merged

Add id to inline Segment script#32878
kodiakhq[bot] merged 2 commits intovercel:canaryfrom
sgallese:patch-1

Conversation

@sgallese
Copy link
Copy Markdown
Contributor

When I don't include an id, I see the console error "VM1624:1 Segment snippet included twice."
According to https://nextjs.org/docs/basic-features/script#inline-scripts, an id should be added for inline scripts.

Documentation / Examples

  • Make sure the linting passes by running yarn lint

When I don't include an `id`, I see the console error "VM1624:1 Segment snippet included twice."
According to https://nextjs.org/docs/basic-features/script#inline-scripts, an id should be added for inline scripts.
@ijjk ijjk added the examples Issue was opened via the examples template. label Dec 28, 2021
ijjk
ijjk previously approved these changes Dec 28, 2021
@kodiakhq kodiakhq Bot merged commit 3ca8ce0 into vercel:canary Dec 28, 2021
@sgallese sgallese deleted the patch-1 branch December 28, 2021 23:13
@vercel vercel locked as resolved and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

examples Issue was opened via the examples template.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants