Page MenuHomePhabricator

D10958.diff
No OneTemporary

D10958.diff

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

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)

Event Timeline