Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Mar 13, 2024
1 parent a8e81c7 commit 34de268
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/common/components/Tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function Tabs({items, className}: TTabsProps): ReactElement {

return (
<div className={`w-full bg-neutral-100 ${className}`}>
<nav className={'hidden h-14 w-full border-b-2 border-neutral-300 pl-[1px] pr-4 text-center md:flex'}>
<nav className={'hidden h-14 w-full border-b-2 border-neutral-300 pl-px pr-4 text-center md:flex'}>
{items.map(
({id, label}): ReactElement => (
<div
Expand Down
4 changes: 2 additions & 2 deletions apps/vaults-v3/components/SettingsPopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function ZapSection({chainID}: {chainID: number}): ReactElement {

return (
<>
<div className={'my-6 h-[1px] w-full bg-neutral-900/20'} />
<div className={'my-6 h-px w-full bg-neutral-900/20'} />

<div className={'mb-2 flex flex-col space-y-1'}>
<Label>{'Zap Provider & slippage'}</Label>
Expand Down Expand Up @@ -205,7 +205,7 @@ function StakingSection({currentVault}: {currentVault: TYDaemonVault}): ReactEle

return (
<>
<div className={'my-6 h-[1px] w-full bg-neutral-900/20'} />
<div className={'my-6 h-px w-full bg-neutral-900/20'} />
<div className={'mt-6'}>
<Label>{'OP Boosted Vaults'}</Label>
<div className={'mt-1 flex flex-row space-x-2'}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function VaultDetailsStrategy({currentVault, strategy}: TProps): ReactElement {
</div>
</div>
</div>
<div className={'size-full col-span-12 flex flex-col justify-between md:col-span-6'}>
<div className={'col-span-12 flex size-full flex-col justify-between md:col-span-6'}>
<div className={'grid grid-cols-6 gap-6 md:gap-8'}>
<div className={'col-span-2 flex flex-col space-y-0 md:space-y-2'}>
<p className={'text-xxs text-neutral-600 md:text-xs'}>{'APR'}</p>
Expand Down
2 changes: 1 addition & 1 deletion apps/vaults/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import {zeroAddress} from 'viem';
import {
ARB_WETH_TOKEN_ADDRESS,
OPT_WETH_TOKEN_ADDRESS,
Expand All @@ -10,7 +11,6 @@ import {
} from '@yearn-finance/web-lib/utils/constants';

import type {TAddress} from '@builtbymom/web3/types';
import {zeroAddress} from 'viem';

export function getMessariSubgraphEndpoint(chainID: number): string {
switch (chainID) {
Expand Down

0 comments on commit 34de268

Please sign in to comment.