Skip to content

Commit

Permalink
refactor: removed timestamp from events
Browse files Browse the repository at this point in the history
  • Loading branch information
geolffreym committed Jan 9, 2025
1 parent fdd6700 commit 6213cbd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/sections/finance/components/finance-deposit-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const FinanceDepositModal: FC<FinanceDepositModalProps> = ({ open, onClos
<FinanceModal
open={open}
onClose={onClose}
title="Deposit to"
title="Deposit from"
tabs={depositTabs}
renderContent={renderContent}
maxWidth="xs"
Expand Down
6 changes: 3 additions & 3 deletions src/sections/finance/components/finance-deposit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ interface FinanceDepositProps {
*/
const FinanceDeposit: FC<FinanceDepositProps> = ({ address, recipient, depositHook, onClose }) => {
const [amount, setAmount] = useState<number>();
const [localLoading, setLocalLoading] = useState(false);
const [amountError, setAmountError] = useState(false);
const [helperText, setHelperText] = useState<string>("");
const { deposit, loading: depositLoading, error } = depositHook;
const { balance } = useGetMmcContractBalance(address);
const { deposit, loading: depositLoading, error } = depositHook;
const [localLoading, setLocalLoading] = useState(false);
const [amountError, setAmountError] = useState(false);
const isBusy = localLoading || depositLoading;
const RainbowEffect = isBusy ? NeonPaper : Box;

Expand Down
2 changes: 1 addition & 1 deletion src/sections/finance/components/finance-withdraw-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const FinanceWithdrawModal: FC<FinanceWithdrawModalProps> = ({ open, onCl
<FinanceModal
open={open}
onClose={onClose}
title="Withdraw from"
title="Withdraw to"
tabs={withdrawTabs}
renderContent={renderContent}
maxWidth="xs"
Expand Down

0 comments on commit 6213cbd

Please sign in to comment.