Skip to content

Commit 8bb39aa

Browse files
committed
chore: change storybook error variable usage
1 parent e51aa60 commit 8bb39aa

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/__demo__/InterpretationModal.stories.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ WithManyComments.story = {
303303
name: 'With many comments',
304304
}
305305

306-
export const Error = () => (
306+
export const ErrorState = () => (
307307
<ModalStory
308308
interpretationsResolver={() =>
309309
Promise.reject(
@@ -328,6 +328,6 @@ export const Error = () => (
328328
</ModalStory>
329329
)
330330

331-
Error.story = {
331+
ErrorState.story = {
332332
name: 'Error',
333333
}

src/__demo__/InterpretationThread.stories.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Loading.story = {
250250
name: 'Loading',
251251
}
252252

253-
export const Error = () => (
253+
export const ErrorState = () => (
254254
<ThreadStory
255255
interpretationsResolver={() =>
256256
Promise.reject(
@@ -267,6 +267,6 @@ export const Error = () => (
267267
</ThreadStory>
268268
)
269269

270-
Error.story = {
270+
ErrorState.story = {
271271
name: 'Error',
272272
}

src/__demo__/InterpretationsUnit.stories.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Loading.story = {
100100
name: 'Loading',
101101
}
102102

103-
export const Error = () => (
103+
export const ErrorState = () => (
104104
<InterpretationsStory
105105
interpretationsResolver={() =>
106106
Promise.reject(
@@ -114,7 +114,7 @@ export const Error = () => (
114114
</InterpretationsStory>
115115
)
116116

117-
Error.story = {
117+
ErrorState.story = {
118118
name: 'Error',
119119
}
120120

0 commit comments

Comments
 (0)