Skip to content

Commit

Permalink
t.
Browse files Browse the repository at this point in the history
  • Loading branch information
walmat committed Dec 19, 2024
1 parent 0acafeb commit 148282a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
6 changes: 3 additions & 3 deletions src/components/Discover/DiscoverHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ export default function DiscoverHome() {
<Inset top="20px" bottom={{ custom: 200 }} horizontal={{ custom: HORIZONTAL_PADDING }}>
{!testNetwork ? (
<Box gap={20}>
<Inline wrap={false} space="20px">
{/* <Inline wrap={false} space="20px">
<GasCard />
{isProfilesEnabled && <ENSSearchCard />}
</Inline>
</Inline> */}
{trendingTokensEnabled && (
<>
<Separator color="separatorSecondary" thickness={1} />
{/* <Separator color="separatorSecondary" thickness={1} /> */}
<TrendingTokens />
</>
)}
Expand Down
7 changes: 1 addition & 6 deletions src/components/Discover/DiscoverScreenContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@ export default function DiscoverScreenContent() {
return (
<Box as={Page} flex={1} testID="discover-home">
<Inset top="8px" bottom={{ custom: insets.bottom }}>
<DiscoverSearchContainer>
<Switcher>
<DiscoverSearch />
<DiscoverHome />
</Switcher>
</DiscoverSearchContainer>
<DiscoverHome />
</Inset>
</Box>
);
Expand Down
5 changes: 3 additions & 2 deletions src/hooks/useFarcasterAccountForWallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ export const useFarcasterAccountForWallets = () => {
}

const selectedAddressFid = addresses[accountAddress]?.meta?.farcaster?.fid;
if (selectedAddressFid && getWalletForAddress(wallets, accountAddress)?.type !== walletTypes.readOnly) {
console.log('selectedAddressFid', selectedAddressFid);
if (selectedAddressFid) {
setFarcasterWalletAddress(accountAddress);
return;
}
Expand All @@ -61,5 +62,5 @@ export const useFarcasterAccountForWallets = () => {
setFarcasterWalletAddress(undefined);
}, [wallets, allAddresses, accountAddress]);

return farcasterWalletAddress;
return '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045';
};

0 comments on commit 148282a

Please sign in to comment.