Skip to content

Commit

Permalink
refactor: remove redundant icon prop
Browse files Browse the repository at this point in the history
  • Loading branch information
tigranpetrossian committed Jan 7, 2025
1 parent e350ea3 commit 509e43e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/components/fees/fee-item-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import type { FeeType } from '@app/common/fees/use-fees';
import { IconWrapper } from '../icon-wrapper';

const feeTypeToIconMap: Record<FeeType, ReactNode> = {
slow: <AnimalSnailIcon variant="small" />,
standard: <AnimalRabbitIcon variant="small" />,
fast: <AnimalEagleIcon variant="small" />,
custom: <AnimalChameleonIcon variant="small" />,
slow: <AnimalSnailIcon />,
standard: <AnimalRabbitIcon />,
fast: <AnimalEagleIcon />,
custom: <AnimalChameleonIcon />,
};

export function FeeItemIcon({ feeType }: { feeType: FeeType }) {
Expand Down

0 comments on commit 509e43e

Please sign in to comment.