Page MenuHomePhabricator

D6502.diff
No OneTemporary

D6502.diff

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
@@ -8,7 +8,7 @@
import css from './log-in-form.css';
import SIWEButton from './siwe-button.react.js';
-import SIWE from './siwe.react.js';
+import SIWELoginForm from './siwe-login-form.react.js';
import TraditionalLoginForm from './traditional-login-form.react.js';
function LoginForm(): React.Node {
@@ -27,7 +27,7 @@
let siweSection;
if (isDev && siweAuthFlowSelected && signer) {
- siweSection = <SIWE />;
+ siweSection = <SIWELoginForm />;
} else if (isDev) {
siweSection = <SIWEButton onSIWEButtonClick={onSIWEButtonClick} />;
}
diff --git a/web/account/siwe.react.js b/web/account/siwe-login-form.react.js
rename from web/account/siwe.react.js
rename to web/account/siwe-login-form.react.js
--- a/web/account/siwe.react.js
+++ b/web/account/siwe-login-form.react.js
@@ -37,7 +37,7 @@
const getSIWENonceLoadingStatusSelector = createLoadingStatusSelector(
getSIWENonceActionTypes,
);
-function SIWE(): React.Node {
+function SIWELoginForm(): React.Node {
const { address } = useAccount();
const { data: signer } = useSigner();
const dispatch = useDispatch();
@@ -146,4 +146,4 @@
);
}
-export default SIWE;
+export default SIWELoginForm;

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 12:51 PM (18 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2687709
Default Alt Text
D6502.diff (1 KB)

Event Timeline