fix(bots): remove the empty section-label caption from the Vojo AI widget
This commit is contained in:
parent
9c3287165f
commit
dd1a5d8412
3 changed files with 0 additions and 3 deletions
|
|
@ -107,7 +107,6 @@ export function App({ bootstrap, api }: AppProps) {
|
||||||
return (
|
return (
|
||||||
<div class="app">
|
<div class="app">
|
||||||
<section class="section">
|
<section class="section">
|
||||||
<div class="section-label">{t('section.label')}</div>
|
|
||||||
<div class="command-grid">
|
<div class="command-grid">
|
||||||
{canAddToChat && (
|
{canAddToChat && (
|
||||||
<button class="command-card" type="button" onClick={() => api.addToChat()}>
|
<button class="command-card" type="button" onClick={() => api.addToChat()}>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
import type { StringKey } from './ru';
|
import type { StringKey } from './ru';
|
||||||
|
|
||||||
export const EN: Record<StringKey, string> = {
|
export const EN: Record<StringKey, string> = {
|
||||||
'section.label': 'Robot in chats',
|
|
||||||
'card.add.name': 'Add to chat',
|
'card.add.name': 'Add to chat',
|
||||||
'card.add.desc': 'Invite Vojo AI into a room — it will reply to mentions there.',
|
'card.add.desc': 'Invite Vojo AI into a room — it will reply to mentions there.',
|
||||||
'card.privacy.name': 'Privacy & data',
|
'card.privacy.name': 'Privacy & data',
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@
|
||||||
// The widget renders action cards + a privacy modal (Telegram «О боте» pattern).
|
// The widget renders action cards + a privacy modal (Telegram «О боте» pattern).
|
||||||
|
|
||||||
export const RU = {
|
export const RU = {
|
||||||
'section.label': 'Робот в чатах',
|
|
||||||
// Action card.
|
// Action card.
|
||||||
'card.add.name': 'Добавить в чат',
|
'card.add.name': 'Добавить в чат',
|
||||||
'card.add.desc': 'Пригласите Vojo AI в комнату — он будет отвечать на упоминания в ней.',
|
'card.add.desc': 'Пригласите Vojo AI в комнату — он будет отвечать на упоминания в ней.',
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue