c9e84a85d5
* MP-2887: added ICNS and ICP support : * fix: removed unessecary package
10 lines
225 B
TypeScript
10 lines
225 B
TypeScript
import useSWR from 'swr'
|
|
|
|
import getICNS from 'api/wallets/getICNS'
|
|
|
|
export default function useICNSDomain(address?: string) {
|
|
return useSWR(`ICNS-${address}`, () => getICNS(address), {
|
|
revalidateOnFocus: false,
|
|
})
|
|
}
|