Skip to content

Commit c483204

Browse files
[ci] Fix ts compile errors.
Signed-off-by: Raymond Roestenburg <raymond.roestenburg@digitalasset.com>
1 parent 8191b92 commit c483204

File tree

3 files changed

+0
-27
lines changed

3 files changed

+0
-27
lines changed

apps/common/frontend/src/api/scan/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import useLookupFeaturedAppRight, {
2424
} from './useLookupFeaturedAppRight';
2525
import useOpenRounds from './useOpenRounds';
2626
import useTopAppProviders from './useTopAppProviders';
27-
import useTotalAmuletBalance from './useTotalAmuletBalance';
2827
import useTotalRewards from './useTotalRewards';
2928

3029
export {
@@ -45,7 +44,6 @@ export {
4544
useLookupFeaturedAppRightBuilder,
4645
useActivity,
4746
useTopAppProviders,
48-
useTotalAmuletBalance,
4947
useTotalRewards,
5048
useListAnsEntries,
5149
useListAnsEntriesFromResponse,

apps/common/frontend/src/api/scan/useTotalAmuletBalance.tsx

Lines changed: 0 additions & 21 deletions
This file was deleted.

apps/scan/frontend/src/__tests__/mocks/handlers/scan-api.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
GetRewardsCollectedResponse,
1212
GetRoundOfLatestDataResponse,
1313
GetDsoPartyIdResponse,
14-
GetTotalAmuletBalanceResponse,
1514
ListActivityResponse,
1615
LookupEntryByPartyResponse,
1716
GetOpenAndIssuingMiningRoundsResponse,
@@ -406,9 +405,6 @@ export const buildScanMock = (baseScanUrl: string): RestHandler[] => {
406405
rest.get(`${scanUrl}/v0/rewards-collected`, (_, res, ctx) => {
407406
return res(ctx.json<GetRewardsCollectedResponse>({ amount: '0.0' }));
408407
}),
409-
rest.get(`${scanUrl}/v0/total-amulet-balance`, (_, res, ctx) => {
410-
return res(ctx.json<GetTotalAmuletBalanceResponse>({ total_balance: '66605.2180742781' }));
411-
}),
412408
rest.post(`${scanUrl}/v0/amulet-rules`, (_, res, ctx) => {
413409
return res(ctx.json<GetAmuletRulesResponse>(getAmuletRulesResponse(true)));
414410
}),

0 commit comments

Comments
 (0)