From 67e668d6f7865aaff81757b73d916dccb96ba41f Mon Sep 17 00:00:00 2001 From: colton <1679963578@qq.com> Date: Fri, 25 Oct 2024 15:31:20 +0800 Subject: [PATCH] remove --- src/components/ATable.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/ATable.tsx b/src/components/ATable.tsx index 34c6d59..f94deb1 100644 --- a/src/components/ATable.tsx +++ b/src/components/ATable.tsx @@ -13,7 +13,6 @@ const ATable: FC = ({ 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 }