Skip to content

Commit

Permalink
cleaned up console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor committed Oct 28, 2023
1 parent 0f2a315 commit 603d343
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/app/components/DisplayTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ export function DisplayTable() {
const openOrders = useAppSelector(selectOpenOrders);
const orderHistory = useAppSelector(selectOrderHistory);
const tradeHistory = useAppSelector(selectTradeHistory);
console.log(orderHistory);

const tableToShow = useMemo(() => {
switch (selectedTable) {
Expand Down
1 change: 0 additions & 1 deletion src/app/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ export function calculateTotalFees(order: any): number {

//Calculate the Avg Filled from recieved token amounts
export function calculateAvgFilled(tokenOne: number, tokenTwo: number): number {
console.log(tokenOne, tokenTwo);
if (tokenOne == 0 || tokenTwo == 0) return 0;
const avgFilled = tokenTwo / tokenOne;
const decimalPart = (avgFilled % 1).toString().split(".")[1];
Expand Down

0 comments on commit 603d343

Please sign in to comment.