Merge pull request #1010 from omnivore-app/fix/load-intercom-on-support-page
Load Intercom on /support page
This commit is contained in:
@ -1,3 +1,14 @@
|
||||
import { useEffect } from 'react'
|
||||
import { SettingsLayout } from '../components/templates/SettingsLayout'
|
||||
|
||||
export default function Support(): JSX.Element {
|
||||
return <p>Support Page</p>
|
||||
useEffect(() => {
|
||||
window.Intercom('show')
|
||||
}, [])
|
||||
|
||||
return (
|
||||
<SettingsLayout title="Support">
|
||||
<></>
|
||||
</SettingsLayout>
|
||||
)
|
||||
}
|
||||
|
||||
@ -21170,6 +21170,11 @@ react-style-singleton@^2.1.0:
|
||||
invariant "^2.2.4"
|
||||
tslib "^1.0.0"
|
||||
|
||||
react-super-responsive-table@^5.2.1:
|
||||
version "5.2.1"
|
||||
resolved "https://registry.yarnpkg.com/react-super-responsive-table/-/react-super-responsive-table-5.2.1.tgz#e9c3113d7676e74db9110f8385a3dddce45ee00f"
|
||||
integrity sha512-93DAJbI4FjR0Yops+0v1MZIUhIMRQOm/N//o35mk/g4NCZ99HIOB+gdZPorZwKX3mfr3h3H3ATcU4jLMfpuC9Q==
|
||||
|
||||
react-syntax-highlighter@^13.5.3:
|
||||
version "13.5.3"
|
||||
resolved "https://registry.yarnpkg.com/react-syntax-highlighter/-/react-syntax-highlighter-13.5.3.tgz#9712850f883a3e19eb858cf93fad7bb357eea9c6"
|
||||
|
||||
Reference in New Issue
Block a user