5392a4717c
* ✨ routing and pages for HLS * ✨ create hooks for fetching HLS vaults and Strategies * Share accounts (#539) * feat: do not redirect to wallet on portfolio page * fix: use connected wallet for AccountMenu * fix: fixed ghost AccountDetails * feat: created ShareBar and share functionality * fix: don’t show shareBar if no address is present * fix: stupid 'next/navigation' * tidy: format * fix: fixed tests * ✨ routing and pages for HLS (#538) * 🐛 use useAccountIds * fix: fixed the tests * fix: accountIds is now a suspense --------- Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com> * 🐛 fix build --------- Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
11 lines
250 B
TypeScript
11 lines
250 B
TypeScript
import useSWR from 'swr'
|
|
|
|
import getHLSStakingAssets from 'api/hls/getHLSStakingAssets'
|
|
|
|
export default function useHLSStakingAssets() {
|
|
return useSWR('hls-staking', getHLSStakingAssets, {
|
|
fallbackData: [],
|
|
revalidateOnFocus: false,
|
|
})
|
|
}
|