fix react error

This commit is contained in:
keyan 2022-08-25 12:27:03 -05:00
parent fba0187b2c
commit d32fa05e42
1 changed files with 1 additions and 2 deletions

View File

@ -205,8 +205,7 @@ export default function Satistics ({ data: { me, walletHistory: { facts, cursor
<tbody>
{facts.map((f, i) => {
const uri = href(f)
const Wrapper = uri ? Link : React.Fragment
const Wrapper = uri ? Link : ({ href, ...props }) => <React.Fragment {...props} />
return (
<Wrapper href={uri} key={f.id}>
<tr className={styles.row}>