✨ Add back Make.com and implement help doc buttons
This commit is contained in:
@@ -8,7 +8,7 @@ type Props = {
|
||||
block: PabblyConnectBlock
|
||||
}
|
||||
|
||||
export const PabblyConnectNodeContent = ({ block }: Props) => {
|
||||
export const PabblyConnectContent = ({ block }: Props) => {
|
||||
const { webhooks, typebot, updateWebhook } = useTypebot()
|
||||
const webhook = webhooks.find(byId(block.webhookId))
|
||||
|
||||
@@ -23,8 +23,7 @@ export const PabblyConnectNodeContent = ({ block }: Props) => {
|
||||
} as Webhook
|
||||
updateWebhook(webhookId, newWebhook)
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [])
|
||||
}, [block, typebot, updateWebhook, webhook])
|
||||
|
||||
if (isNotDefined(webhook?.body))
|
||||
return <Text color="gray.500">Configure...</Text>
|
||||
@@ -0,0 +1,2 @@
|
||||
export * from './PabblyConnectContent'
|
||||
export * from './PabblyConnectLogo'
|
||||
@@ -1,2 +1 @@
|
||||
export { PabblyConnectLogo } from './components/PabblyConnectLogo'
|
||||
export { PabblyConnectNodeContent } from './components/PabblyConnectNodeContent'
|
||||
export * from './components'
|
||||
|
||||
Reference in New Issue
Block a user