File tree 3 files changed +10
-13
lines changed
pages/ApplicationEvaluationOverviewPage
3 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 1
1
import { withThemeByDataAttribute } from "@storybook/addon-themes" ;
2
- import { mockDateDecorator } from "storybook-mock-date-decorator" ;
3
-
4
2
import type { Preview } from "@storybook/react" ;
5
3
import { initialize , mswLoader } from "msw-storybook-addon" ;
4
+ import { mockDateDecorator } from "storybook-mock-date-decorator" ;
6
5
7
6
import "../src/index.css" ;
8
7
import { handlers } from "../src/mocks/handlers" ;
@@ -35,9 +34,9 @@ const preview: Preview = {
35
34
locales : "en-US" ,
36
35
} ,
37
36
} ,
38
- // msw: {
39
- // handlers,
40
- // },
37
+ msw : {
38
+ handlers,
39
+ } ,
41
40
} ,
42
41
43
42
loaders : [ mswLoader ] ,
Original file line number Diff line number Diff line change @@ -34,11 +34,11 @@ export default meta;
34
34
type Story = StoryObj < typeof ApplicationEvaluationOverviewPage > ;
35
35
36
36
export const Default : Story = {
37
- // parameters: {
38
- // msw: {
39
- // handlers,
40
- // },
41
- // },
37
+ parameters : {
38
+ msw : {
39
+ handlers,
40
+ } ,
41
+ } ,
42
42
args : {
43
43
chainId : 10 ,
44
44
poolId : "7" ,
Original file line number Diff line number Diff line change 2
2
import { GraphQLClient } from "graphql-request" ;
3
3
4
4
// 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" ;
7
6
8
7
// Create a new instance of GraphQLClient
9
8
export const graphqlClient = new GraphQLClient ( GS_INDEXER_ENDPOINT , {
10
9
headers : {
11
10
"Content-Type" : "application/json" ,
12
- "x-hasura-admin-secret" : GS_INDEXER_ADMIN_SECRET ,
13
11
} ,
14
12
} ) ;
15
13
You can’t perform that action at this time.
0 commit comments