Skip to content

Commit eac039a

Browse files
authored
Update subquery (#2763)
* Update subquery * update ff * fix: reports subquery url * tiny design fix
1 parent 87be11d commit eac039a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

centrifuge-app/.env-config/.env.ff-prod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ REACT_APP_ONBOARDING_API_URL=https://europe-central2-centrifuge-production-x.clo
88
REACT_APP_PINNING_API_URL=https://europe-central2-centrifuge-production-x.cloudfunctions.net/pinning-api-production
99
REACT_APP_POOL_CREATION_TYPE=propose
1010
REACT_APP_RELAY_WSS_URL=wss://rpc.polkadot.io
11-
REACT_APP_SUBQUERY_URL=https://api.centrifuge.io
11+
REACT_APP_SUBQUERY_URL=https://api-main.cfg.embrio.tech/
1212
REACT_APP_SUBSCAN_URL=https://centrifuge.subscan.io
1313
REACT_APP_TINLAKE_NETWORK=mainnet
1414
REACT_APP_INFURA_KEY=8ed99a9a115349bbbc01dcf3a24edc96

centrifuge-app/.env-config/.env.production

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ REACT_APP_ONBOARDING_API_URL=https://europe-central2-centrifuge-production-x.clo
88
REACT_APP_PINNING_API_URL=https://europe-central2-centrifuge-production-x.cloudfunctions.net/pinning-api-production
99
REACT_APP_POOL_CREATION_TYPE=propose
1010
REACT_APP_RELAY_WSS_URL=wss://rpc.polkadot.io
11-
REACT_APP_SUBQUERY_URL=https://api.centrifuge.io
11+
REACT_APP_SUBQUERY_URL=https://api-main.cfg.embrio.tech/
1212
REACT_APP_SUBSCAN_URL=https://centrifuge.subscan.io
1313
REACT_APP_TINLAKE_NETWORK=mainnet
1414
REACT_APP_INFURA_KEY=8ed99a9a115349bbbc01dcf3a24edc96

centrifuge-app/src/components/Report/useReportsQuery.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ type ReportsType = Report | DataReport
4545

4646
const centrifuge = new Centrifuge({
4747
environment: 'mainnet',
48-
indexerUrl: 'https://api.centrifuge.io/',
48+
indexerUrl: 'https://api-main.cfg.embrio.tech/',
4949
})
5050

5151
export function useReport<T extends ReportsType>(

centrifuge-app/src/pages/Pool/Overview/HoldingsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const HoldingsTable = ({ metadata }: { metadata: PoolMetadata | undefined
4747
}
4848
})
4949

50-
if (!assetsData) {
50+
if (!assetsData || assetsData.data.length === 0) {
5151
return null
5252
}
5353

0 commit comments

Comments
 (0)