Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
schmanu committed Sep 22, 2023
1 parent 01c2976 commit ee339db
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"start": "craco start",
"build": "craco build",
"lint": "eslint --max-warnings 0 .",
"lint:fix": "eslint --fix .",
"test": "craco test",
"eject": "craco eject",
"generate-types": "typechain --target=ethers-v5 --out-dir src/contracts './node_modules/@openzeppelin/contracts/build/contracts/ERC20.json'",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styled from '@emotion/styled';
import GitHubIcon from '@mui/icons-material/GitHub';
import { Link, SvgIcon, Typography } from '@mui/material';
import { Link, Typography } from '@mui/material';
import { ReactElement } from 'react';

const StyledFooterRow = styled.div`
Expand Down
5 changes: 1 addition & 4 deletions src/components/approvallist/ApprovalList.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
import { Button } from '@mui/material';
import { observer } from 'mobx-react';
import { useContext, useState } from 'react';
import { useContext } from 'react';

import { StoreContext } from '../../stores/StoreContextProvider';
import { ApprovalDialog } from '../ApprovalDialog';

import { ApprovalEntry } from './ApprovalEntry';
import { ApprovalHeader } from './ApprovalHeader';

export const ApprovalList = observer(() => {
const { uiStore } = useContext(StoreContext);
const [approvalDialogOpen, setApprovalDialogOpen] = useState(false);

const approvals = uiStore.filteredApprovals;
return (
Expand Down
2 changes: 1 addition & 1 deletion src/stores/ui/UIStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { action, computed, makeObservable, observable } from 'mobx';

import { UNLIMITED_ALLOWANCE } from '../../constants';
import { fromWei, toWei } from '../../utils/wei';
import { AccumulatedApproval, Transaction } from '../transactions/TransactionStore';
import { AccumulatedApproval } from '../transactions/TransactionStore';

export class UIApprovalEntry {
tokenAddress: string;
Expand Down

0 comments on commit ee339db

Please sign in to comment.