-
Couldn't load subscription status.
- Fork 49
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
I have some problems trying to get the Intercom messenger to show up. I'm trying to migrate from using the react-intercom library. I currently have a structure like this:
<Context.Provider1>
{ condition ? (
<IntercomProvider appId={*****} />
<img src="" onClick={()=> show()} /> // this is using the useIntercom hook
<Components />
</IntercomProvider>
) : (<Components/>)}
<Context.Provider1 />Trying to do this triggers the error: Please wrap your component with IntercomProvider. Any help with this particular case is appreciated. Also... please let me know if this is not an acceptable place to ask for help, happy to move this anywhere you deem appropriate. Thank you for your library!
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation