Skip to content

Commit dc038ed

Browse files
fix lint
1 parent c38cbd4 commit dc038ed

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/swap/components/FundSwapButton.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function FundSwapButton() {
5353
background.primary,
5454
border.radius,
5555
'flex rounded-xl',
56-
'px-4 py-3 h-12 w-24 items-center justify-center',
56+
'h-12 w-24 items-center justify-center px-4 py-3',
5757
isDisabled && pressable.disabled,
5858
text.headline,
5959
)}

src/swap/components/FundSwapDropdown.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { TokenImage } from '../../token';
2-
import { background, cn, color, pressable } from '../../styles/theme';
2+
import { background, cn, color } from '../../styles/theme';
33
import { useFundSwapContext } from './FundSwapProvider';
44
import type { SwapUnit } from '../types';
55
import { useCallback } from 'react';
@@ -23,6 +23,7 @@ function TokenItem({ swapUnit }: { swapUnit: SwapUnit }) {
2323
'hover:bg-[var(--ock-bg-inverse)]',
2424
)}
2525
onClick={handleClick}
26+
type="button"
2627
>
2728
<TokenImage token={swapUnit.token} size={36} />
2829
<div className="flex flex-col">

0 commit comments

Comments
 (0)