Skip to content

Commit

Permalink
- rename StackInfo to StackDigest
Browse files Browse the repository at this point in the history
- Move StackDigest above orders
  • Loading branch information
Diogomartf committed Jun 12, 2024
1 parent 742bac8 commit f66bf19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/app/components/stack-modal/StackModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,11 @@ export const StackModal = ({
</div>
)}
<div className="px-4 space-y-4 md:px-6">
<StackDigest stackOrder={stackOrder} />
<TitleText size={2} weight="bold">
Orders
</TitleText>
<StackProgress stackOrder={stackOrder} />
<StackInfo stackOrder={stackOrder} />
{totalStackOrdersDone(stackOrder) > 0 && (
<StackOrdersTable stackOrder={stackOrder} />
)}
Expand Down Expand Up @@ -289,7 +289,7 @@ export const StackModal = ({
);
};

const StackInfo = ({ stackOrder }: StackOrderProps) => (
const StackDigest = ({ stackOrder }: StackOrderProps) => (
<div className="flex flex-col justify-between gap-2 px-4 py-3 md:px-6 md:items-center md:flex-row bg-surface-25 rounded-2xl">
<FromToStackTokenPair
fromToken={stackOrder.sellToken}
Expand Down

0 comments on commit f66bf19

Please sign in to comment.