Skip to content

Commit 32beb4d

Browse files
committed
feat: minor fixes, add subgraph for autolistings
1 parent 20eb253 commit 32beb4d

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

apps/web/app/[locale]/add/components/DepositAmounts/TokenDepositCard.tsx

-6
Original file line numberDiff line numberDiff line change
@@ -419,12 +419,6 @@ export default function TokenDepositCard({
419419
contractAddress: NONFUNGIBLE_POSITION_MANAGER_ADDRESS[chainId as DexChainId],
420420
});
421421

422-
console.log("++++++_______++++++++");
423-
console.log(formattedValue);
424-
console.log(token1Balance);
425-
console.log(currentDeposit);
426-
console.log("_______________________");
427-
428422
const isMax: boolean = useMemo(() => {
429423
return tokenStandardRatio === 0
430424
? Boolean(formattedValue) &&

apps/web/hooks/useAutoListingApolloClient.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import useCurrentChainId from "@/hooks/useCurrentChainId";
55
import { DexChainId } from "@/sdk_hybrid/chains";
66

77
const autoListingUrlMap: Record<DexChainId, string> = {
8-
[DexChainId.MAINNET]: "",
8+
[DexChainId.MAINNET]:
9+
"https://api.studio.thegraph.com/query/56540/dex223-auto-listing-mainnet/version/latest",
910
[DexChainId.SEPOLIA]:
1011
"https://api.studio.thegraph.com/query/56540/dex223-auto-listing-sepolia/version/latest/",
1112
[DexChainId.BSC_TESTNET]:

packages/ui/src/components/Alert.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default function Alert({ text, type = "success", withIcon = true }: Props
4343
type === "success" && "ui-outline-green ui-bg-green-bg ui-outline-1",
4444
type === "error" && "ui-outline-red-light ui-bg-red-bg ui-outline-1",
4545
type === "warning" && "ui-outline-orange ui-bg-orange-bg ui-outline-1",
46-
type === "info" && "ui-outline-blue ui-bg-blue-bg",
46+
type === "info" && "ui-outline-blue ui-bg-blue-bg ui-outline-1",
4747
type === "info-border" && "ui-border-l-4 ui-border-l-blue ui-outline-0 ui-bg-primary-bg ui-pl-4",
4848
)}
4949
>

0 commit comments

Comments
 (0)