diff --git a/lib/components/fid-provider.react.js b/lib/components/fid-provider.react.js --- a/lib/components/fid-provider.react.js +++ b/lib/components/fid-provider.react.js @@ -3,7 +3,7 @@ import * as React from 'react'; type FIDContextType = { - +setFID: string => void, + +setFID: (?string) => mixed, +fid: ?string, }; diff --git a/native/profile/farcaster-account-settings.react.js b/native/profile/farcaster-account-settings.react.js --- a/native/profile/farcaster-account-settings.react.js +++ b/native/profile/farcaster-account-settings.react.js @@ -29,8 +29,8 @@ const styles = useStyles(unboundStyles); const onPressDisconnect = React.useCallback(() => { - // TODO: Implement disconnecting from Farcaster - }, []); + setFID(null); + }, [setFID]); const [webViewState, setWebViewState] = React.useState('closed');