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

fix(theme-default): remove duplicate judgments in preconnect() #1903

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

manchan4869
Copy link
Contributor

  • The preconnect() has been judged before calling, so there is no need to repeat the judgment
onMounted(() => {
 if (!theme.value.algolia) {
   return
 }
 preconnect()
...
}

@manchan4869 manchan4869 changed the title fix(theme-default): remove duplicate judgments in the preconnect function fix(theme-default): remove duplicate judgments in preconnect() Feb 7, 2023
@brc-dd brc-dd merged commit 48c9b11 into vuejs:main Feb 7, 2023
@manchan4869 manchan4869 deleted the patch-1 branch February 7, 2023 16:34
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants