2
0

🚀 (whatsapp) Remove beta status

This commit is contained in:
Baptiste Arnaud
2024-01-23 08:17:22 +01:00
parent 32927e00bf
commit c08ab3d007
5 changed files with 5 additions and 37 deletions

View File

@@ -28,7 +28,8 @@ export const RuntimeMenu = ({ selectedRuntime, onSelectRuntime }: Props) => {
>
<HStack justifyContent="space-between">
<Text>{selectedRuntime.name}</Text>
{'status' in selectedRuntime ? (
{'status' in selectedRuntime &&
typeof selectedRuntime.status === 'string' ? (
<Tag colorScheme="orange">{selectedRuntime.status}</Tag>
) : null}
</HStack>
@@ -44,7 +45,7 @@ export const RuntimeMenu = ({ selectedRuntime, onSelectRuntime }: Props) => {
>
<HStack justifyContent="space-between">
<Text>{runtime.name}</Text>
{'status' in runtime ? (
{'status' in runtime && typeof runtime.status === 'string' ? (
<Tag colorScheme="orange">{runtime.status}</Tag>
) : null}
</HStack>

View File

@@ -86,12 +86,6 @@ export const WhatsAppPreviewInstructions = (props: StackProps) => {
Check the docs
</Button>
</HStack>
<Alert status="warning">
<AlertIcon />
The WhatsApp integration is still in beta test.
<br />
Your bug reports are greatly appreciate 🧡
</Alert>
<TextInput
label="Your phone number"
placeholder="+XXXXXXXXXXXX"

View File

@@ -9,7 +9,6 @@ export const runtimes = [
{
name: 'WhatsApp',
icon: <WhatsAppLogo />,
status: 'beta',
},
{ name: 'API', icon: <CodeIcon /> },
] as const