Skip to content

Commit

Permalink
Fix linting issues causing build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennievon committed Aug 26, 2024
1 parent 5215482 commit 6c5844e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tools/bridge-frontend/src/components/modules/bridge/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ export default function Dashboard() {
clearInterval(intervalId.current);
}
};

// eslint-disable-next-line react-hooks/exhaustive-deps
}, [
fromChain,
token,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { useContractService } from "@/src/services/useContractService";
import { ethers } from "ethers";
import useContractStore from "@/src/stores/contract-store";
import { cn } from "@/src/lib/utils";
import { estimateGas } from "@/src/lib/utils/contractUtils";

export const TransferToSection = ({
form,
Expand All @@ -27,7 +28,6 @@ export const TransferToSection = ({
address: string;
setOpen: (open: boolean) => void;
}) => {
const { estimateGas } = useContractService();
const { bridgeContract } = useContractStore();
const [gas, setGas] = useState<string | null>(null);
const [isEstimating, setIsEstimating] = useState(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export default function TransactionsComponent() {
return () => {
clearInterval(interval.current);
};

// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

const firstBatchHeight = getItem(transactions, "blockNumber");
Expand Down

0 comments on commit 6c5844e

Please sign in to comment.