Skip to content

Commit

Permalink
fix formatting for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
MattPereira committed Sep 26, 2024
1 parent c56d70e commit edd2eb1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/nextjs/app/cow/_components/PoolConfiguration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import { useAccount } from "wagmi";
import { ArrowTopRightOnSquareIcon } from "@heroicons/react/24/outline";
import { Alert, TransactionButton } from "~~/components/common";
import { TextField, TokenField } from "~~/components/common/";
import { ButtonTabs } from "~~/components/common/ButtonTabs";
import { useCheckIfPoolExists } from "~~/hooks/cow";
import { getPoolUrl } from "~~/hooks/cow/getPoolUrl";
import { usePoolCreationPersistedState } from "~~/hooks/cow/usePoolCreationState";
import { useTargetNetwork } from "~~/hooks/scaffold-eth";
import { type Token, useFetchTokenList, useReadToken } from "~~/hooks/token";
import { COW_MIN_AMOUNT } from "~~/utils";
import { ButtonTabs } from "~~/components/common/ButtonTabs";
import { getPerTokenWeights, SupportedTokenWeight, TokenWeightSelectItems } from "~~/utils/token-weights";
import { SupportedTokenWeight, TokenWeightSelectItems, getPerTokenWeights } from "~~/utils/token-weights";

export const PoolConfiguration = () => {
const { targetNetwork } = useTargetNetwork();
Expand Down
4 changes: 3 additions & 1 deletion packages/nextjs/components/common/ButtonTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ export const ButtonTabs: React.FC<Props> = ({ items, selectedId, onSelect }) =>
return (
<button
key={id}
className={`text-neutral-700 bg-gradient-to-b from-custom-beige-start to-custom-beige-end to-100% flex-1 py-3 font-medium text-lg front-bold ${isSelected ? "" : "opacity-50 hover:opacity-90"}`}
className={`text-neutral-700 bg-gradient-to-b from-custom-beige-start to-custom-beige-end to-100% flex-1 py-3 font-medium text-lg front-bold ${
isSelected ? "" : "opacity-50 hover:opacity-90"
}`}
onClick={() => {
if (selectedId !== id) {
onSelect(id);
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/hooks/cow/useBindToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Address } from "viem";
import { usePublicClient, useWalletClient } from "wagmi";
import { abis } from "~~/contracts/abis";
import { useTransactor } from "~~/hooks/scaffold-eth";
import { getDenormalizedTokenWeight, SupportedTokenWeight } from "~~/utils/token-weights";
import { SupportedTokenWeight, getDenormalizedTokenWeight } from "~~/utils/token-weights";

type BindPayload = {
pool: Address | undefined;
Expand Down

0 comments on commit edd2eb1

Please sign in to comment.