stacker.news/components/wallet-indicator.js
ekzyis 66d7eef617
Fix wallet indicator blink via wallet loading state (#2091)
* Fix wallet indicator blink via wallet loading state

* Fix 'attach wallet' button not showing up on page refresh
2025-04-12 14:26:30 -05:00

7 lines
188 B
JavaScript

import { useConfiguredWallets } from '@/wallets'
export function useWalletIndicator () {
const { wallets, loading } = useConfiguredWallets()
return !loading && wallets.length === 0
}