Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3519337
D13735.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1015 B
Referenced Files
None
Subscribers
None
D13735.diff
View Options
diff --git a/lib/utils/farcaster-utils.js b/lib/utils/farcaster-utils.js
--- a/lib/utils/farcaster-utils.js
+++ b/lib/utils/farcaster-utils.js
@@ -3,10 +3,7 @@
import invariant from 'invariant';
import * as React from 'react';
-import {
- setSyncedMetadataEntryActionType,
- clearSyncedMetadataEntryActionType,
-} from '../actions/synced-metadata-actions.js';
+import { setSyncedMetadataEntryActionType } from '../actions/synced-metadata-actions.js';
import { IdentityClientContext } from '../shared/identity-client-context.js';
import { syncedMetadataNames } from '../types/synced-metadata-types.js';
import { useSelector, useDispatch } from '../utils/redux-utils.js';
@@ -71,9 +68,10 @@
await unlinkFarcasterAccount();
dispatch({
- type: clearSyncedMetadataEntryActionType,
+ type: setSyncedMetadataEntryActionType,
payload: {
name: syncedMetadataNames.CURRENT_USER_FID,
+ data: NO_FID_METADATA,
},
});
}, [dispatch, unlinkFarcasterAccount]);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 9:54 PM (19 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2696760
Default Alt Text
D13735.diff (1015 B)
Attached To
Mode
D13735: [lib] Don't show Farcaster prompt for users after they unlink Farcaster
Attached
Detach File
Event Timeline
Log In to Comment