Page MenuHomePhabricator

D13735.id.diff
No OneTemporary

D13735.id.diff

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

Mime Type
text/plain
Expires
Mon, Dec 23, 9:54 PM (19 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2696760
Default Alt Text
D13735.id.diff (1015 B)

Event Timeline