Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bpierre committed Apr 14, 2024
1 parent 4eb864e commit fd61366
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/src/app/contracts/ContractBorrowerOperations.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { FormField } from "@/src/comps/FormField/FormField";
import { TextInput } from "@/src/comps/Input/TextInput";
import { BorrowerOperationsContract, CollTokenContract } from "@/src/contracts";
import { BorrowerOperationsContract } from "@/src/contracts";
import { formValue, parseInputInt, parseInputPercentage, parseInputValue, useForm } from "@/src/form-utils";
import { getTroveId, useCollTokenAllowance } from "@/src/liquity-utils";
import * as dn from "dnum";
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/contracts/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { css } from "@/styled-system/css";
import { useModal } from "connectkit";
import * as dn from "dnum";
import { match, P } from "ts-pattern";
import { useAccount, useBalance, useDisconnect, useReadContracts } from "wagmi";
import { useAccount, useBalance, useReadContracts } from "wagmi";
import { ContractBorrowerOperations } from "./ContractBorrowerOperations";
import { ContractStabilityPool } from "./ContractStabilityPool";

Expand Down
12 changes: 9 additions & 3 deletions frontend/src/comps/Config/Config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ import {
CONTRACT_BOLD_TOKEN,
CONTRACT_BORROWER_OPERATIONS,
CONTRACT_COLL_SURPLUS_POOL,
CONTRACT_COLL_TOKEN,
CONTRACT_DEFAULT_POOL,
CONTRACT_FUNCTION_CALLER,
CONTRACT_GAS_POOL,
CONTRACT_HINT_HELPERS,
CONTRACT_PRICE_FEED_TESTNET,
CONTRACT_INTEREST_ROUTER,
CONTRACT_PRICE_FEED,
CONTRACT_SORTED_TROVES,
CONTRACT_STABILITY_POOL,
CONTRACT_TROVE_MANAGER,
Expand Down Expand Up @@ -57,11 +59,13 @@ export const ConfigSchema = z.object({
contractBoldToken: zAddress(),
contractBorrowerOperations: zAddress(),
contractCollSurplusPool: zAddress(),
contractCollToken: zAddress(),
contractDefaultPool: zAddress(),
contractFunctionCaller: zAddress(),
contractGasPool: zAddress(),
contractHintHelpers: zAddress(),
contractPriceFeedTestnet: zAddress(),
contractInterestRouter: zAddress(),
contractPriceFeed: zAddress(),
contractSortedTroves: zAddress(),
contractStabilityPool: zAddress(),
contractTroveManager: zAddress(),
Expand All @@ -82,11 +86,13 @@ const defaultConfig: Config = {
contractBoldToken: CONTRACT_BOLD_TOKEN,
contractBorrowerOperations: CONTRACT_BORROWER_OPERATIONS,
contractCollSurplusPool: CONTRACT_COLL_SURPLUS_POOL,
contractCollToken: CONTRACT_COLL_TOKEN,
contractDefaultPool: CONTRACT_DEFAULT_POOL,
contractFunctionCaller: CONTRACT_FUNCTION_CALLER,
contractGasPool: CONTRACT_GAS_POOL,
contractHintHelpers: CONTRACT_HINT_HELPERS,
contractPriceFeedTestnet: CONTRACT_PRICE_FEED_TESTNET,
contractInterestRouter: CONTRACT_INTEREST_ROUTER,
contractPriceFeed: CONTRACT_PRICE_FEED,
contractSortedTroves: CONTRACT_SORTED_TROVES,
contractStabilityPool: CONTRACT_STABILITY_POOL,
contractTroveManager: CONTRACT_TROVE_MANAGER,
Expand Down

0 comments on commit fd61366

Please sign in to comment.