Skip to content

Commit

Permalink
Merge pull request #969 from oraichain/fix/ODEX_253
Browse files Browse the repository at this point in the history
fix: link accout mobile mode
  • Loading branch information
haunv3 authored Feb 19, 2024
2 parents 0814cb0 + 8270d28 commit a13e6f9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/components/Wallet/CwToken/CwCard/CwCard.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import React, {memo} from "react";
import React, { memo } from "react";
import classNames from "classnames/bind";
import {checkStatus} from "../CwTable/CwTable";
import {NavLink} from "react-router-dom";
import {_, reduceString, setAgoTime} from "src/lib/scripts";
import {formatOrai} from "src/helpers/helper";
import { checkStatus } from "../CwTable/CwTable";
import { NavLink } from "react-router-dom";
import { _, reduceString, setAgoTime } from "src/lib/scripts";
import { formatOrai } from "src/helpers/helper";
import consts from "src/constants/consts";
import styles from "./CwCard.module.scss";

const cx = classNames.bind(styles);

const CwCard = memo(({data = [], address}) => {
const CwCard = memo(({ data = [], address }) => {
if (!Array.isArray(data)) {
return <></>;
}
Expand Down Expand Up @@ -42,8 +42,8 @@ const CwCard = memo(({data = [], address}) => {
<table>
<tbody>
{reduceStringAdress("TxHash", item?.tx_hash, `${consts.PATH.TXLIST}/${item.tx_hash}`)}
{reduceStringAdress("From", item?.sender, `${consts.PATH.TXLIST}/${item.sender}`)}
{reduceStringAdress("To", item?.receiver, `${consts.PATH.TXLIST}/${item.receiver}`)}
{reduceStringAdress("From", item?.sender, `${consts.PATH.ACCOUNT}/${item.sender}`)}
{reduceStringAdress("To", item?.receiver, `${consts.PATH.ACCOUNT}/${item.receiver}`)}

<tr>
<td>
Expand Down

0 comments on commit a13e6f9

Please sign in to comment.