Skip to content

Commit

Permalink
Fix obsolete imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ifavo committed Nov 29, 2024
1 parent 219730e commit fba2224
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions components/allowances/controls/ControlsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import RevokeButton from 'components/allowances/controls/RevokeButton';
import { AllowanceData, TransactionSubmitted } from 'lib/interfaces';
import { getAllowanceI18nValues } from 'lib/utils/allowances';
import ControlsWrapper from './ControlsWrapper';
import UpdateControls from './UpdateControls';

interface Props {
allowance: AllowanceData;
Expand All @@ -21,14 +20,6 @@ const ControlsSection = ({ allowance, revoke, update, reset }: Props) => {
{(disabled) => (
<div className="controls-section">
{revoke && <RevokeButton allowance={allowance} revoke={revoke} disabled={disabled} />}
{update && reset && (
<UpdateControls
update={update}
disabled={disabled}
reset={reset}
defaultValue={amount === 'Unlimited' ? '0' : (amount?.replace(/,/, '') ?? '0')}
/>
)}
</div>
)}
</ControlsWrapper>
Expand Down

0 comments on commit fba2224

Please sign in to comment.