Skip to content

Commit

Permalink
chore(tangle-dapp): Remove dummy data usage
Browse files Browse the repository at this point in the history
  • Loading branch information
AtelyPham committed Jan 13, 2025
1 parent 80233d5 commit 36cab2e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/tangle-cloud/app/blueprints/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import BlueprintHeader from '@webb-tools/tangle-shared-ui/components/blueprints/BlueprintHeader';
import OperatorsTable from '@webb-tools/tangle-shared-ui/components/tables/Operators';
import useBlueprintDetails from '@webb-tools/tangle-shared-ui/data/restake/useFakeBlueprintDetails';
import useBlueprintDetails from '@webb-tools/tangle-shared-ui/data/restake/useBlueprintDetails';
import { ErrorFallback } from '@webb-tools/webb-ui-components/components/ErrorFallback';
import SkeletonLoader from '@webb-tools/webb-ui-components/components/SkeletonLoader';
import { Typography } from '@webb-tools/webb-ui-components/typography/Typography';
Expand Down
2 changes: 1 addition & 1 deletion apps/tangle-cloud/app/blueprints/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
BLUEPRINTS_OPERATOR_DESCRIPTION,
BLUEPRINTS_OPERATOR_TITLE,
} from '@webb-tools/tangle-shared-ui/constants';
import useBlueprintListing from '@webb-tools/tangle-shared-ui/data/blueprints/useFakeBlueprintListing';
import useBlueprintListing from '@webb-tools/tangle-shared-ui/data/blueprints/useBlueprintListing';
import Button from '@webb-tools/webb-ui-components/components/buttons/Button';
import {
Modal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ export default function useBlueprintDetails(id?: string) {
const idNumber = Number(id);
const [ownerAccount, serviceBlueprint] = blueprintDetails.unwrap();
const owner = ownerAccount.toString();
const { metadata } = toPrimitiveBlueprint(serviceBlueprint);
const { metadata, registrationParams } =
toPrimitiveBlueprint(serviceBlueprint);

const {
blueprintOperatorMap,
Expand Down Expand Up @@ -91,6 +92,7 @@ export default function useBlueprintDetails(id?: string) {
websiteUrl: metadata.website,
twitterUrl: info?.twitter ?? null,
email: info?.email ?? null,
registrationParams,
// TODO: Determine `isBoosted` value.
isBoosted: false,
} satisfies Blueprint;
Expand Down

0 comments on commit 36cab2e

Please sign in to comment.