Skip to content

Commit

Permalink
TW-683: Assets rework. Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-tsx committed Sep 28, 2023
1 parent d4e85ee commit b1cb514
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
7 changes: 0 additions & 7 deletions TODO.md

This file was deleted.

8 changes: 0 additions & 8 deletions src/app/store/assets/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { forkJoin, map } from 'rxjs';

import { fetchTokensMetadata, isKnownChainId, TokenMetadataResponse } from 'lib/apis/temple';
import { fetchTzktAccountAssets, TzktAssetWithMeta, TzktAssetWithNoMeta, TzktTokenWithMeta } from 'lib/apis/tzkt';
import { toTokenSlug } from 'lib/assets';
Expand Down Expand Up @@ -29,12 +27,6 @@ export const loadAccountCollectibles = (account: string, chainId: string) =>
}
);

export const loadAccountCollectibles$ = (account: string, chainId: string) =>
forkJoin([
fetchTzktAccountAssets(account, chainId, false),
loadNoMetaOnTzktAccountAssets(account, chainId, false)
]).pipe(map(([data1, data2]) => buildLoadAssetsResponse(data1, data2)));

interface NoMetaOnTzktAsset {
slug: string;
tzktAsset: TzktAssetWithNoMeta;
Expand Down
1 change: 0 additions & 1 deletion src/lib/notifications/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export { Notifications } from './notifications';
export { NotificationsBell } from './bell';
export { NotificationsItem } from './item';
export { NotificationsSettings } from './settings';

0 comments on commit b1cb514

Please sign in to comment.