From c5da64da9128689e1d230f6b0759d116e989bb04 Mon Sep 17 00:00:00 2001 From: JimmyLv Date: Sun, 5 Mar 2023 16:43:19 +0800 Subject: [PATCH] fix: only show ThirdParty Login Providers --- components/sign-in-modal.tsx | 7 +++++-- utils/constants.ts | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/components/sign-in-modal.tsx b/components/sign-in-modal.tsx index 9578c360..f7800f54 100644 --- a/components/sign-in-modal.tsx +++ b/components/sign-in-modal.tsx @@ -10,7 +10,7 @@ import React, { } from "react"; import Modal from "~/components/shared/modal"; import Image from "next/image"; -import { BASE_DOMAIN } from "~/utils/constants"; +import { BASE_DOMAIN, LOGIN_LIMIT_COUNT } from "~/utils/constants"; const SignInModal = ({ showSignInModal, @@ -33,13 +33,16 @@ const SignInModal = ({ height={20} /> -

登录

+

登录 BibiGPT

+

(每天都赠送 {LOGIN_LIMIT_COUNT} 次哦)

Prompt, Publish, Profit