Merge branch 'dev' into test
This commit is contained in:
@@ -30,8 +30,8 @@ export function AuthOtherOptionsDialog({
|
|||||||
mode,
|
mode,
|
||||||
googleSlot,
|
googleSlot,
|
||||||
}: AuthOtherOptionsDialogProps) {
|
}: AuthOtherOptionsDialogProps) {
|
||||||
const showDevEmailOption =
|
const showNonProductionEmailOption =
|
||||||
AppEnvUtil.isDevelopment() && mode === "facebook" && onEmail;
|
!AppEnvUtil.isProduction() && mode === "facebook" && onEmail;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<BottomSheet
|
<BottomSheet
|
||||||
@@ -55,7 +55,7 @@ export function AuthOtherOptionsDialog({
|
|||||||
</AuthSocialButton>
|
</AuthSocialButton>
|
||||||
) : null}
|
) : null}
|
||||||
|
|
||||||
{showDevEmailOption ? (
|
{showNonProductionEmailOption ? (
|
||||||
<AuthSocialButton
|
<AuthSocialButton
|
||||||
icon={<MdEmail size={20} color="var(--color-auth-text-primary)" />}
|
icon={<MdEmail size={20} color="var(--color-auth-text-primary)" />}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user