Skip to content

Commit

Permalink
remove
Browse files Browse the repository at this point in the history
  • Loading branch information
YongZL committed Oct 25, 2024
1 parent 497f0dc commit 67e668d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/ATable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const ATable: FC<ATableProps> = ({ header = [], data = [], loading }) => {
const fileHost = (item: data) => {
const cru_host = 'https://gw.crust-gateway.xyz/ipfs'
const ton_host = 'https://ton-gateway.crust.network/gateway'
if (!cru_host || !ton_host) return
let host = `${item.bagId ? ton_host : cru_host}/${item.cid || item.bagId}?filename=${encodeURI(item.fileName)}`
return host
}
Expand Down

0 comments on commit 67e668d

Please sign in to comment.