Commit aede82c5 by CaIon

feat: 登陆美化

parent 90620827
...@@ -241,16 +241,25 @@ const LoginForm = () => { ...@@ -241,16 +241,25 @@ const LoginForm = () => {
) : ( ) : (
<></> <></>
)} )}
{status.telegram_oauth ? (
<TelegramLoginButton
dataOnauth={onTelegramLoginClicked}
botName={status.telegram_bot_name}
/>
) : (
<></>
)}
</div> </div>
{status.telegram_oauth ? (
<>
<div
style={{
display: 'flex',
justifyContent: 'center',
marginTop: 5,
}}
>
<TelegramLoginButton
dataOnauth={onTelegramLoginClicked}
botName={status.telegram_bot_name}
/>
</div>
</>
) : (
<></>
)}
</> </>
) : ( ) : (
<></> <></>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment