Skip to content

Commit

Permalink
SSR swap tool
Browse files Browse the repository at this point in the history
  • Loading branch information
jonator committed Oct 30, 2024
1 parent fd18bd9 commit 336ef47
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/web/components/trade-tool/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { parseAsStringEnum, useQueryState } from "nuqs";
import { FunctionComponent, useEffect, useMemo } from "react";

import { Icon } from "~/components/assets";
import { ClientOnly } from "~/components/client-only";
import { PlaceLimitTool } from "~/components/place-limit-tool";
import type { SwapToolProps } from "~/components/swap-tool";
import { AltSwapTool } from "~/components/swap-tool/alt";
Expand Down Expand Up @@ -59,7 +58,7 @@ export const TradeTool: FunctionComponent<TradeToolProps> = observer(
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [tab]);
return (
<ClientOnly>
<>
<div className="relative flex flex-col gap-3 rounded-3xl bg-osmoverse-900 px-5 pt-5 pb-3 sm:px-4 sm:pt-4 sm:pb-2">
<div className="flex w-full items-center justify-between md:gap-2">
<SwapToolTabs activeTab={tab} setTab={setTab} />
Expand Down Expand Up @@ -161,7 +160,7 @@ export const TradeTool: FunctionComponent<TradeToolProps> = observer(
</div>
</Link>
)}
</ClientOnly>
</>
);
}
);

0 comments on commit 336ef47

Please sign in to comment.