Skip to content

Commit

Permalink
fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
xieqiancaosissi committed Dec 23, 2023
1 parent 26a7aed commit 3ec73b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion redux/assetState.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { IAssetDetailed, IMetadata, IAssetFarmReward, INetTvlFarmRewards } from "../interfaces";

export type Asset = Omit<IAssetDetailed, "farms"> & {
metadata: IMetadata;
metadata: IMetadata | any;
farms: {
supplied: {
[token: string]: IAssetFarmReward;
Expand Down
2 changes: 2 additions & 0 deletions store/actions/repayFromDeposits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ export async function repayFromDeposits({
tokenId,
amount,
extraDecimals,
position,
}: {
tokenId: string;
amount: string;
extraDecimals: number;
position?: string;
}) {
const { logicContract, oracleContract } = await getBurrow();
const { decimals } = (await getMetadata(tokenId))!;
Expand Down

0 comments on commit 3ec73b7

Please sign in to comment.