chore: update telegram bot related section (#1750)

* chore: update telegram bot related section

* chore: update
This commit is contained in:
boojack
2023-05-26 21:32:44 +08:00
committed by GitHub
parent 8628d1e4b2
commit dbe8aa1d3a
5 changed files with 19 additions and 29 deletions

View File

@ -272,11 +272,10 @@ const SystemSection = () => {
<Divider className="!mt-3 !my-4" />
<div className="form-label">
<div className="flex flex-row items-center">
<span className="text-sm mr-1">{t("setting.system-section.telegram-robot-token")}</span>
<HelpButton
hint={t("setting.system-section.telegram-robot-token-description")}
url="https://core.telegram.org/bots#how-do-i-create-a-bot"
/>
<div className="w-auto flex items-center">
<span className="text-sm mr-1">{t("setting.system-section.telegram-robot-token")}</span>
<HelpButton icon="help" url="https://usememos.com/docs/integration/telegram-bot" />
</div>
</div>
<Button onClick={handleSaveTelegramRobotToken}>{t("common.save")}</Button>
</div>