Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeesun Kim authored and Jeesun Kim committed Jan 28, 2025
1 parent 571e0a8 commit 5474eda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
11 changes: 1 addition & 10 deletions src/app/(sidebar)/transaction/saved/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,7 @@ import { localStorageSavedTransactions } from "@/helpers/localStorageSavedTransa
import { arrayItem } from "@/helpers/arrayItem";
import { isSorobanOperationType } from "@/helpers/sorobanUtils";

import {
SavedTransaction,
SavedTransactionPage,
TxnOperation,
} from "@/types/types";

const INITIAL_OPERATION: TxnOperation = {
operation_type: "",
params: [],
};
import { SavedTransaction, SavedTransactionPage } from "@/types/types";

export default function SavedTransactions() {
const { network, transaction, xdr } = useStore();
Expand Down
6 changes: 1 addition & 5 deletions src/app/(sidebar)/transaction/submit/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,7 @@ const isSorobanXdr = (jsonString: string): boolean => {
return false;
}

const sorobanOps = [
body.extend_footprint_ttl,
body.restore_footprint,
body.invoke_host_function,
];
const sorobanOps = [body.extend_footprint_ttl, body.invoke_host_function];

return sorobanOps.some((op) => op?.ext === "v0");
});
Expand Down

0 comments on commit 5474eda

Please sign in to comment.