Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3505241
D6502.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D6502.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D6502: [web] Rename `SIWE` component to `SIWELoginForm`
Attached
Detach File
Event Timeline
Log In to Comment