Skip to content

Commit

Permalink
Update inbox-connected-guide.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
scopsy committed Dec 3, 2024
1 parent 68fc3b4 commit 596c2b0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { showErrorToast, showSuccessToast } from '../primitives/sonner-helpers';
import { useTriggerWorkflow } from '@/hooks/use-trigger-workflow';
import { ROUTES } from '../../utils/routes';
import { useNavigate } from 'react-router-dom';
import { ONBOARDING_DEMO_WORKFLOW_ID } from '../../config';

interface InboxConnectedGuideProps {
subscriberId: string;
Expand All @@ -17,7 +18,7 @@ export function InboxConnectedGuide({ subscriberId }: InboxConnectedGuideProps)
async function handleSendNotification() {
try {
await triggerWorkflow({
name: 'onboarding-demo-workflow',
name: ONBOARDING_DEMO_WORKFLOW_ID,
to: subscriberId,
payload: {
subject: '**Welcome to Inbox!**',
Expand Down

0 comments on commit 596c2b0

Please sign in to comment.