Skip to content

Commit

Permalink
fix: make withdraw tab disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
hkey0 committed Sep 6, 2024
1 parent b7844c1 commit 5ffa647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/deposit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Deposit: React.FC<DepositProps> = ({ amountEther, setAmountEther }) => {
<div className="deposit-card">
<div className="header-tabs">
<div className={classNames("header-tab", (activeTab === Tabs.Deposit ? "active" : "inactive"))} style={{ width: "43.5%" }} onClick={() => setActiveTab(Tabs.Deposit)}>Deposit</div>
<div className={classNames("header-tab", (activeTab === Tabs.Withdraw ? "active" : "inactive"))} style={{ width: "43.5%" }}>Withdraw</div>
<div className={classNames("header-tab", "disabled", (activeTab === Tabs.Withdraw ? "active" : "inactive"))} style={{ width: "43.5%" }}>Withdraw</div>
<div className={classNames("header-tab", "flex", "items-center", "justify-center", (activeTab === Tabs.Activity ? "active" : "inactive"))} style={{ width: "56px" }} onClick={() => {setActiveTab(Tabs.Activity)}}>
<Activity activityClassName="" />
</div>
Expand Down

0 comments on commit 5ffa647

Please sign in to comment.