Skip to content

Commit

Permalink
chore: make updates for new version of gsdata client
Browse files Browse the repository at this point in the history
  • Loading branch information
boudra committed Nov 14, 2023
1 parent e3f96d9 commit 37e5b8a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ describe("ProjectCard", () => {
summaryText: "Project Summary",
bannerImageCid: "bannerCid",
logoImageCid: "logoCid",
contributorCount: 0,
contributionsTotalUsd: 0,
};

it("renders correctly with required props", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ const applicationsMock: ApplicationSummary[] = [
summaryText: "Project Summary 1",
bannerImageCid: "bannerCid",
logoImageCid: "logoCid",
contributorCount: 0,
contributionsTotalUsd: 0,
},
{
roundName: "Round 2",
Expand All @@ -34,6 +36,8 @@ const applicationsMock: ApplicationSummary[] = [
summaryText: "Project Summary 2",
bannerImageCid: "bannerCid",
logoImageCid: "logoCid",
contributorCount: 0,
contributionsTotalUsd: 0,
},
];

Expand Down
6 changes: 2 additions & 4 deletions packages/grant-explorer/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,8 @@ const GRANTS_STACK_DATA_APPLICATIONS_PAGE_SIZE = 50;

const grantsStackDataClient = new GrantsStackDataClient({
baseUrl: getConfig().grantsStackDataClient.baseUrl,
applications: {
pagination: {
pageSize: GRANTS_STACK_DATA_APPLICATIONS_PAGE_SIZE,
},
pagination: {
pageSize: GRANTS_STACK_DATA_APPLICATIONS_PAGE_SIZE,
},
});

Expand Down

0 comments on commit 37e5b8a

Please sign in to comment.