Skip to content

Commit

Permalink
fix: build.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrskr committed Dec 5, 2023
1 parent 63b78c5 commit 70733dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions frontend/src/pages/client/pages/PastTransactionsPage.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import React from "react";
import { Box, Button, Typography } from "@mui/material";
import { Box, Button } from "@mui/material";
import { AuthenticatedOnly } from "../../../components/AuthenticatedOnly";
import { ASSETS, SUPPORTED_ASSETS } from "../../../constants/Assets";
import { BigNumber, ethers } from "ethers";
import { ERC20Mock__factory, OrdersExchange__factory } from "../../../typechain";
import { ethers } from "ethers";
import { OrdersExchange__factory } from "../../../typechain";
import { useWeb3Context } from "../../../context/Web3Context";
import { DataGrid, GridColDef } from "@mui/x-data-grid";

export const PastTransactionsPage: React.FC = () => {
const web3Context = useWeb3Context();

const [{ signer, address }, setSigner] = React.useState<{
const [{ signer }, setSigner] = React.useState<{
address?: string;
signer?: ethers.Signer;
}>({});
Expand Down Expand Up @@ -58,6 +58,7 @@ export const PastTransactionsPage: React.FC = () => {
if (signer) {
fetchHistory();
}
// eslint-disable-next-line
}, [signer]);

const columns: GridColDef[] = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export const InteractionsWidget: React.FC = () => {
if (signer) {
fetch();
}
// eslint-disable-next-line
}, [signer]);

return (
Expand Down

0 comments on commit 70733dd

Please sign in to comment.