Skip to content

Commit

Permalink
refactor: use activeAccount instead of isConnected in getPaymentMetho…
Browse files Browse the repository at this point in the history
…dsQuery
  • Loading branch information
r41ph committed Oct 7, 2024
1 parent 2019660 commit 989910e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const RegistryLayoutHeader: React.FC = () => {

const { data: paymentMethodData } = useQuery(
getPaymentMethodsQuery({
enabled: !!isConnected,
enabled: !!activeAccount,
}),
);

Expand Down

0 comments on commit 989910e

Please sign in to comment.