Open olegdater opened 7 months ago
When using DiscussionEmbed in NextJS project i get error: Error: Super expression must either be null or a function
Insert code:
<DiscussionEmbed shortname="MY_SHORT_NAME" config={{ url: `MY_URL`, identifier: path, title, language: 'en_EN', }} />
should render discussion
n.
"next": "^13.5.6",
Have you tried adding 'use client' at the top of the file that imports DiscussionEmbed?
'use client'
DiscussionEmbed
Describe the bug
When using DiscussionEmbed in NextJS project i get error: Error: Super expression must either be null or a function
To Reproduce
Insert code:
Expected behavior
should render discussion
Screenshots
n.
Specifications:
Additional context