diff --git a/apps/builder/src/features/editor/components/SuspectedTypebotBanner.tsx b/apps/builder/src/features/editor/components/SuspectedTypebotBanner.tsx index 50f911f2c..6d6025584 100644 --- a/apps/builder/src/features/editor/components/SuspectedTypebotBanner.tsx +++ b/apps/builder/src/features/editor/components/SuspectedTypebotBanner.tsx @@ -1,12 +1,15 @@ import { TextLink } from '@/components/TextLink' import { useUser } from '@/features/account/hooks/useUser' +import { useWorkspace } from '@/features/workspace/WorkspaceProvider' import { HStack, Text } from '@chakra-ui/react' +import { Plan } from '@typebot.io/prisma' type Props = { typebotId: string } export const SuspectedTypebotBanner = ({ typebotId }: Props) => { const { user } = useUser() + const { workspace } = useWorkspace() if (!user?.email) return null @@ -24,16 +27,20 @@ export const SuspectedTypebotBanner = ({ typebotId }: Props) => { Our anti-scam system flagged your typebot. It is currently being reviewed manually. -
- If you think that's a mistake,{' '} - - contact us - - . + {workspace?.plan !== Plan.FREE ? ( + <> +
+ If you think that's a mistake,{' '} + + contact us + + . + + ) : null}
)