Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Telegram widget Login #102

Closed
wants to merge 2 commits into from
Closed

feat: Telegram widget Login #102

wants to merge 2 commits into from

Conversation

dysf888
Copy link
Member

@dysf888 dysf888 commented Jan 14, 2025

No description provided.

@dysf888 dysf888 requested a review from hamster1963 January 14, 2025 11:37
Copy link

Linting and formatting issues were automatically fixed. Please review the changes.

@@ -64,6 +88,17 @@ function Login() {

const { t } = useTranslation()

const loadTelegramWidget = (botName: string, authUrl: string) => {
const script = document.createElement("script")
script.src = "https://telegram.org/js/telegram-widget.js?22"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里能不能拆一下或者编码下 怕被q


const loadTelegramWidget = (botName: string, authUrl: string) => {
const script = document.createElement("script")
script.src = "https://telegram.org/js/telegram-widget.js?22"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里也是

@@ -42,6 +74,9 @@ export default function ProfilePage() {
await unbindOauth2(provider)
const profile = await getProfile()
setProfile(profile)
if (provider === "Telegram") {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

名字也是

@naiba naiba marked this pull request as draft January 19, 2025 13:20
@naiba
Copy link
Member

naiba commented Jan 19, 2025

先收拾后端吧

@dysf888
Copy link
Member Author

dysf888 commented Jan 19, 2025

先收拾后端吧

👌

@dysf888 dysf888 closed this Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants