Skip to content

Commit

Permalink
fix: update text for login
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyLv committed Mar 5, 2023
1 parent 682d0c2 commit eabc0ee
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions components/sign-in-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ const SignInModal = ({
<div className="flex flex-col space-y-4 bg-gray-50 px-4 py-8 md:px-16">
<Auth
supabaseClient={supabaseClient}
localization={{
variables: {
sign_up: {
social_provider_text: "使用 {{provider}} 注册",
},
sign_in: {
social_provider_text: "使用 {{provider}} 登录",
},
},
}}
onlyThirdPartyProviders
// magicLink
providers={[
Expand Down

1 comment on commit eabc0ee

@vercel
Copy link

@vercel vercel bot commented on eabc0ee Mar 5, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.