fix ts errors
This commit is contained in:
@@ -36,7 +36,7 @@ export function useEscrowDetail(pda: Address | null) {
|
||||
if (!cancelled) setLoading(false)
|
||||
})
|
||||
|
||||
const unsub = subscribeEscrow(rpcSubscriptions, pda, (updated) => {
|
||||
const unsub = subscribeEscrow(rpcSubscriptions as never, pda, (updated) => {
|
||||
if (!cancelled) setAccount(updated)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user