Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 01d5d71

Browse files
committedMar 17, 2025·
tweak
1 parent bd29591 commit 01d5d71

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed
 

‎packages/ui/.storybook/preview.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { withThemeByDataAttribute } from "@storybook/addon-themes";
2-
import { mockDateDecorator } from "storybook-mock-date-decorator";
3-
42
import type { Preview } from "@storybook/react";
53
import { initialize, mswLoader } from "msw-storybook-addon";
4+
import { mockDateDecorator } from "storybook-mock-date-decorator";
65

76
import "../src/index.css";
87
import { handlers } from "../src/mocks/handlers";
@@ -35,9 +34,9 @@ const preview: Preview = {
3534
locales: "en-US",
3635
},
3736
},
38-
// msw: {
39-
// handlers,
40-
// },
37+
msw: {
38+
handlers,
39+
},
4140
},
4241

4342
loaders: [mswLoader],

‎packages/ui/src/features/checker/pages/ApplicationEvaluationOverviewPage/ApplicationEvaluationOverviewPage.stories.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ export default meta;
3434
type Story = StoryObj<typeof ApplicationEvaluationOverviewPage>;
3535

3636
export const Default: Story = {
37-
// parameters: {
38-
// msw: {
39-
// handlers,
40-
// },
41-
// },
37+
parameters: {
38+
msw: {
39+
handlers,
40+
},
41+
},
4242
args: {
4343
chainId: 10,
4444
poolId: "7",

‎packages/ui/src/features/checker/services/allo/alloClient.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22
import { GraphQLClient } from "graphql-request";
33

44
// Base URL for the GraphQL API
5-
const GS_INDEXER_ENDPOINT = "http://gitcoin-data-layer-staging-lb-242619440.us-east-2.elb.amazonaws.com/v1/graphql";
6-
const GS_INDEXER_ADMIN_SECRET = "ADD_SECRET_HERE";
5+
const GS_INDEXER_ENDPOINT = "https://yc7lia2566.execute-api.us-east-2.amazonaws.com/api/v1/graphql";
76

87
// Create a new instance of GraphQLClient
98
export const graphqlClient = new GraphQLClient(GS_INDEXER_ENDPOINT, {
109
headers: {
1110
"Content-Type": "application/json",
12-
"x-hasura-admin-secret": GS_INDEXER_ADMIN_SECRET,
1311
},
1412
});
1513

0 commit comments

Comments
 (0)
Please sign in to comment.