Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix/ui-20240801' into tmp/20240731
Browse files Browse the repository at this point in the history
  • Loading branch information
dmy147 committed Aug 1, 2024
2 parents 52e74e4 + 0b0496a commit 41776b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ui/views/Swap/Component/RabbyFeePopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,14 @@ export const RabbyFeePopup = ({
<span>{t('page.swap.rabbyFee.wallet')}</span>
<span>{t('page.swap.rabbyFee.rate')}</span>
</div>
<div className="border-[0.5px] border-rabby-neutral-line rounded-[6px]">
<div className="border-[1px] border-rabby-neutral-line rounded-[6px]">
{fee[type].map((item, idx, list) => (
<div
key={item.name}
className={clsx(
'flex justify-between items-center',
'px-16 py-12',
'border-b-[0.5px] border-solid border-rabby-neutral-line',
'border-b-[1px] border-solid border-rabby-neutral-line',
idx === list.length - 1 ? 'border-b-0' : ''
)}
>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/views/Swap/Component/ReserveGasPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const ReserveGasContent = React.forwardRef<

const checkIsInsufficient = useCallback(
(price: number) => {
if (rawHexBalance !== undefined && rawHexBalance !== null) {
if (rawHexBalance === undefined || rawHexBalance === null) {
return false;
}
return new BigNumber(rawHexBalance || 0, 16).lt(
Expand Down

0 comments on commit 41776b2

Please sign in to comment.