diff --git a/web/account/log-in-form.react.js b/web/account/log-in-form.react.js --- a/web/account/log-in-form.react.js +++ b/web/account/log-in-form.react.js @@ -4,8 +4,6 @@ import * as React from 'react'; import { useSigner } from 'wagmi'; -import { isDev } from 'lib/utils/dev-utils'; - import OrBreak from '../components/or-break.react.js'; import css from './log-in-form.css'; import SIWEButton from './siwe-button.react.js'; @@ -30,23 +28,10 @@ setSIWEAuthFlowSelected(false); }, []); - let siweLoginForm, siweButton; - if (isDev && siweAuthFlowSelected && signer) { - siweLoginForm = ; - } else if (isDev) { - siweButton = ; - } - - if (siweLoginForm) { - return
{siweLoginForm}
; - } - - if (siweButton) { + if (siweAuthFlowSelected && signer) { return (
- - - {siweButton} +
); } @@ -54,6 +39,8 @@ return (
+ +
); }