()
| 17 | const [isLoading, setIsLoading] = useState<boolean>(true); |
| 18 | |
| 19 | const fetchPayoutMethods = async () => { |
| 20 | const result = await getPayoutMethods(); |
| 21 | if (result.error) { |
| 22 | return; |
| 23 | } |
| 24 | if (result) { |
| 25 | setUpiAddresses(result.upiIds!); |
| 26 | setSolanaAddresses(result.solanaAddresses!); |
| 27 | setIsLoading(false); |
| 28 | } |
| 29 | }; |
| 30 | |
| 31 | const fetchUserBounties = async () => { |
| 32 | setIsLoading(true); |
no test coverage detected