diff --git a/packages/app/components/creator-token/buy-creator-token.web.tsx b/packages/app/components/creator-token/buy-creator-token.web.tsx index e8932f179..90d07989c 100644 --- a/packages/app/components/creator-token/buy-creator-token.web.tsx +++ b/packages/app/components/creator-token/buy-creator-token.web.tsx @@ -80,8 +80,7 @@ export const BuyCreatorToken = () => { const [username] = useParam("username"); const [selectedActionParam] = useParam("selectedAction"); const [tokenAmount, setTokenAmount] = useState(1); - const { wallets } = useWallets(); - const isPrivyWalletConnected = wallets?.[0]?.walletClientType === "privy"; + const isPrivyWalletConnected = wallet?.walletClientType === "privy"; const { data: profileData } = useUserProfile({ address: username }); const sellToken = useCreatorTokenSell(); diff --git a/packages/app/components/header/header.md.web.tsx b/packages/app/components/header/header.md.web.tsx index ff514c254..b418fb4b7 100644 --- a/packages/app/components/header/header.md.web.tsx +++ b/packages/app/components/header/header.md.web.tsx @@ -235,7 +235,7 @@ const ChannelsUnreadMessages = () => { export const HeaderMd = withColorScheme(() => { const { user, isAuthenticated } = useUser(); - const { handleSubmitWallet, loading: loginLoading } = useLogin(); + const { loading: loginLoading } = useLogin(); const { links, social } = useFooter(); const isDark = useIsDarkMode(); const router = useRouter(); @@ -560,7 +560,12 @@ export const HeaderMd = withColorScheme(() => { + + + + + + ) : null} + + ); }); export const usePrivyLogout = () => {