Skip to content

Commit

Permalink
feat: remove unused ref
Browse files Browse the repository at this point in the history
  • Loading branch information
fabryscript committed Jul 1, 2024
1 parent bdab365 commit 6459131
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/web/components/swap-tool/trade-details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export const TradeDetails = ({

const routesVisDisclosure = useDisclosure();

const [ref] = useMeasure<HTMLDivElement>();
const [swapRouteRef, { height: swapRouteHeight }] =
useMeasure<HTMLDivElement>();

Expand Down Expand Up @@ -287,7 +286,7 @@ export const TradeDetails = ({
left="Swap route"
className="!h-auto flex-col !items-start gap-2.5"
right={
<div ref={ref} className="flex w-full flex-col gap-2">
<div className="flex w-full flex-col gap-2">
<RoutesTaken
{...routesVisDisclosure}
split={swapState?.quote?.split ?? []}
Expand Down

0 comments on commit 6459131

Please sign in to comment.