Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
walmat committed Jul 25, 2024
1 parent 90ecc48 commit 0230f9d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/__swaps__/screens/Swap/providers/swap-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,6 @@ export const SwapProvider = ({ children }: SwapProviderProps) => {
);
const configProgress = useSharedValue<NavigationSteps>(NavigationSteps.INPUT_ELEMENT_FOCUSED);

const outputQuotesAreDisabled = useSwapOutputQuotesDisabled({
inputAsset: internalSelectedInputAsset,
outputAsset: internalSelectedOutputAsset,
});

const SwapSettings = useSwapSettings({
inputAsset: internalSelectedInputAsset,
});
Expand Down Expand Up @@ -418,6 +413,11 @@ export const SwapProvider = ({ children }: SwapProviderProps) => {
isFetching,
});

const outputQuotesAreDisabled = useSwapOutputQuotesDisabled({
inputAsset: internalSelectedInputAsset,
outputAsset: internalSelectedOutputAsset,
});

const swapInfo = useDerivedValue(() => {
const areBothAssetsSet = !!internalSelectedInputAsset.value && !!internalSelectedOutputAsset.value;
const isBridging =
Expand Down

0 comments on commit 0230f9d

Please sign in to comment.