Skip to content

Commit

Permalink
fix: comment out experimental features
Browse files Browse the repository at this point in the history
Signed-off-by: Griko Nibras <[email protected]>
  • Loading branch information
grikomsn committed Jan 24, 2024
1 parent 87b85e9 commit ff7c1c3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/solve/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { AssetsRequest, SwapVenue, TransferState } from "@skip-router/core";
import { useQuery } from "@tanstack/react-query";
import { useEffect, useMemo, useState } from "react";

import { getClientFlags } from "@/lib/edge-config";

import { useSkipClient } from "./hooks";

// import { getClientFlags } from "@/lib/edge-config";

interface TransferSequence {
srcChainID: string;
destChainID: string;
Expand Down Expand Up @@ -91,7 +91,7 @@ export function useRoute({
return;
}

const experimentalFeatures = await getClientFlags();
// const experimentalFeatures = await getClientFlags();

const route = await skipClient.route(
direction === "swap-in"
Expand All @@ -102,7 +102,7 @@ export function useRoute({
destAssetDenom: destinationAsset,
destAssetChainID: destinationAssetChainID,
swapVenue,
experimentalFeatures,
// experimentalFeatures,
}
: {
amountOut: amount,
Expand All @@ -111,7 +111,7 @@ export function useRoute({
destAssetDenom: destinationAsset,
destAssetChainID: destinationAssetChainID,
swapVenue,
experimentalFeatures,
// experimentalFeatures,
},
);

Expand Down

0 comments on commit ff7c1c3

Please sign in to comment.