release: 2026-04-04 (31건 커밋) #223
@ -8,6 +8,7 @@ interface LoginPageProps {
|
||||
|
||||
const GOOGLE_CLIENT_ID = import.meta.env.VITE_GOOGLE_CLIENT_ID;
|
||||
const IS_DEV = import.meta.env.DEV;
|
||||
const DEV_LOGIN_ENABLED = IS_DEV || import.meta.env.VITE_ENABLE_DEV_LOGIN === 'true';
|
||||
|
||||
function useGoogleIdentity(onCredential: (credential: string) => void) {
|
||||
const btnRef = useRef<HTMLDivElement>(null);
|
||||
@ -136,7 +137,7 @@ const LoginPage = ({ onGoogleLogin, onDevLogin }: LoginPageProps) => {
|
||||
)}
|
||||
|
||||
{/* Dev Login */}
|
||||
{IS_DEV && (
|
||||
{DEV_LOGIN_ENABLED && (
|
||||
<>
|
||||
<div className="w-full border-t border-kcg-border pt-4 text-center">
|
||||
<span className="text-xs font-mono tracking-wider text-kcg-dim">
|
||||
|
||||
불러오는 중...
Reference in New Issue
Block a user