Skip to content

Commit 57e2850

Browse files
committed
feat(frontend): add graphql error story to RenderSubmittedMessage
1 parent ba606f6 commit 57e2850

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

frontend/relay-workflows-lib/stories/components/RenderSubmittedMessage.stories.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export const erroredWorkflow: Story = {
121121
},
122122
};
123123

124-
export const erroneousSubmission: Story = {
124+
export const networkError: Story = {
125125
args: {
126126
result: {
127127
type: "networkError",
@@ -132,3 +132,12 @@ export const erroneousSubmission: Story = {
132132
},
133133
},
134134
};
135+
136+
export const graphqlError: Story = {
137+
args: {
138+
result: {
139+
type: "graphQLError",
140+
errors: [{ message: "GraphQL Error" }],
141+
},
142+
},
143+
};

0 commit comments

Comments
 (0)