Skip to content

Commit

Permalink
fix: remove unused file
Browse files Browse the repository at this point in the history
  • Loading branch information
VmMad committed Nov 27, 2024
1 parent 54d75f9 commit 98838a6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 50 deletions.
3 changes: 2 additions & 1 deletion apps/core/src/components/cards/BalanceChanges.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) 2024 IOTA Stiftung
// Copyright (c) Mysten Labs, Inc.
// Modifications Copyright (c) 2024 IOTA Stiftung
// SPDX-License-Identifier: Apache-2.0

import React, { useMemo } from 'react';
Expand Down
47 changes: 0 additions & 47 deletions apps/core/src/hooks/useUnstakeToken.ts

This file was deleted.

4 changes: 2 additions & 2 deletions apps/wallet-dashboard/lib/utils/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const getTransactionTransactionState = (tx: IotaTransactionBlockResponse): Trans
return TransactionState.Pending;
};

export const getTransactionFlow = (
export const getTransactionAction = (
transaction: IotaTransactionBlockResponse,
currentAddress: string,
) => {
Expand All @@ -33,7 +33,7 @@ export const getExtendedTransaction = (
address: string,
): ExtendedTransaction => {
return {
action: getTransactionFlow(tx, address),
action: getTransactionAction(tx, address),
state: getTransactionTransactionState(tx),
timestamp: tx.timestampMs ? parseTimestamp(tx.timestampMs) : undefined,
raw: tx,
Expand Down

0 comments on commit 98838a6

Please sign in to comment.