Skip to content

Commit 31b5243

Browse files
committed
fix: build
1 parent 8ed9cb2 commit 31b5243

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/react/src/reserves.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type UseAaveReserveArgs = ReserveRequest;
1919
* ```tsx
2020
* const { data } = useAaveReserve({
2121
* market: evmAddress('0x87870bca...'),
22-
* token: evmAddress('0xa0b86a33...'),
22+
* underlyingToken: evmAddress('0xa0b86a33...'),
2323
* chainId: chainId(1),
2424
* suspense: true,
2525
* });
@@ -35,7 +35,7 @@ export function useAaveReserve(
3535
* ```tsx
3636
* const { data, loading } = useAaveReserve({
3737
* market: evmAddress('0x87870bca...'),
38-
* token: evmAddress('0xa0b86a33...'),
38+
* underlyingToken: evmAddress('0xa0b86a33...'),
3939
* chainId: chainId(1),
4040
* });
4141
* ```
@@ -47,7 +47,7 @@ export function useAaveReserve(
4747
export function useAaveReserve({
4848
suspense = false,
4949
market,
50-
token,
50+
underlyingToken,
5151
chainId,
5252
userAddress,
5353
}: UseAaveReserveArgs & {
@@ -56,7 +56,7 @@ export function useAaveReserve({
5656
return useSuspendableQuery({
5757
document: ReserveQuery,
5858
variables: {
59-
request: { market, token, chainId },
59+
request: { market, underlyingToken, chainId },
6060
includeUserFields: !!userAddress,
6161
userAddress: userAddress ?? ZERO_ADDRESS,
6262
},

0 commit comments

Comments
 (0)