I am using the plugin @atlaskit/renderer to render some content from confluence to my website.
One issue I have noticed here is: smart card is not getting rendered.
I see this log on console:
- index.js:8 Uncaught Error: useSmartCard() must be wrapped in
at useSmartLinkContext (index.js:8)
at usePrefetch (usePrefetch.js:6)
at LazyIntersectionObserverCard (LazyIntersectionObserverCard.js:21)
- index.js:1 The above error occurred in the component:
in LazyIntersectionObserverCard (created by LazyCardWithUrlContent)
in LazyCardWithUrlContent (created by CardWithURLRenderer)
- index.js:1 GET http://localhost:3000/atlaskit-internal_smartcard-urlcardcontent.chunk.js 404 (Not Found)
Is this an issue with the @atlaskit/smart-card package itself or am I missing something here?