Form: fix telegram-bot link

This commit is contained in:
vchikalkin 2024-07-18 21:11:06 +03:00
parent e0e84a7638
commit 1d8e40535e

View File

@ -32,7 +32,7 @@ export function BaseForm({ children, onSubmit }: FormProps & PropsWithChildren)
autoComplete="on" autoComplete="on"
{...register('password', { required: true })} {...register('password', { required: true })}
/> />
{step === 'login-success' ? ( {step === 'login-success' || step === 'telegram-notification' ? (
<a target="_blank" className="info" href={TELEGRAM_BOT_URL} rel="noreferrer"> <a target="_blank" className="info" href={TELEGRAM_BOT_URL} rel="noreferrer">
Открыть чат с ботом Открыть чат с ботом
</a> </a>