Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3351675
D10958.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
D10958.diff
View Options
diff --git a/native/account/siwe-panel.react.js b/native/account/siwe-panel.react.js
--- a/native/account/siwe-panel.react.js
+++ b/native/account/siwe-panel.react.js
@@ -37,7 +37,7 @@
const identityGenerateNonceLoadingStatusSelector = createLoadingStatusSelector(
identityGenerateNonceActionTypes,
);
-const siweAuthLoadingStatusSelector =
+const legacySiweAuthLoadingStatusSelector =
createLoadingStatusSelector(siweAuthActionTypes);
type WebViewMessageEvent = {
@@ -73,8 +73,8 @@
const { onClosing } = props;
- const siweAuthCallLoading = useSelector(
- state => siweAuthLoadingStatusSelector(state) === 'loading',
+ const legacySiweAuthCallLoading = useSelector(
+ state => legacySiweAuthLoadingStatusSelector(state) === 'loading',
);
const [nonce, setNonce] = React.useState<?string>(null);
@@ -246,7 +246,7 @@
const loading =
!legacyGetSIWENonceCallFailed &&
!identityGenerateNonceFailed &&
- (isLoading || siweAuthCallLoading);
+ (isLoading || legacySiweAuthCallLoading);
React.useEffect(() => {
setLoadingProp(loading);
}, [setLoadingProp, loading]);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 3:06 AM (20 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2573639
Default Alt Text
D10958.diff (1 KB)
Attached To
Mode
D10958: [native] rename siwe auth loading status selector
Attached
Detach File
Event Timeline
Log In to Comment