Skip to content

Commit

Permalink
fix: fix missing label update in Order type selector
Browse files Browse the repository at this point in the history
  • Loading branch information
fabryscript committed Jun 12, 2024
1 parent b967bba commit 00ded19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/web/components/swap-tool/order-type-selector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ export default function OrderTypeSelector() {
return (
<Menu as="div" className="relative inline-block">
<Menu.Button className="flex items-center gap-2 rounded-[48px] bg-osmoverse-825 py-3 px-4">
<p className="font-semibold text-wosmongton-200">Market</p>
<p className="font-semibold text-wosmongton-200">
{type === "market" ? "Market" : "Limit"}
</p>
<div className="flex h-6 w-6 items-center justify-center">
<Icon id="chevron-down" className="h-[7px] w-3 text-wosmongton-200" />
</div>
Expand Down

0 comments on commit 00ded19

Please sign in to comment.