Skip to content

Commit 148fc13

Browse files
committed
frontend: storybook: Add descriptive titles to AuthToken stories
1 parent 899a6fa commit 148fc13

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

frontend/src/components/account/AuthToken.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ const Template: StoryFn<PureAuthTokenProps> = args => <PureAuthToken {...args} /
4242

4343
export const ShowError = Template.bind({});
4444
ShowError.args = {
45-
title: 'a title',
45+
title: 'Authentication Error',
4646
token: 'a token',
4747
showError: true,
4848
showActions: false,
4949
};
5050

5151
export const ShowActions = Template.bind({});
5252
ShowActions.args = {
53-
title: 'a title',
53+
title: 'Authentication Token',
5454
token: 'a token',
5555
showError: false,
5656
showActions: true,

frontend/src/components/account/__snapshots__/AuthToken.ShowActions.stories.storyshot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
8989
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
9090
>
91-
a title
91+
Authentication Token
9292
</h1>
9393
</div>
9494
</div>

frontend/src/components/account/__snapshots__/AuthToken.ShowError.stories.storyshot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
class="MuiTypography-root MuiTypography-h1 css-1kazmbo-MuiTypography-root"
112112
style="font-size: 1.25rem; font-weight: 500; line-height: 1.6;"
113113
>
114-
a title
114+
Authentication Error
115115
</h1>
116116
</div>
117117
</div>

0 commit comments

Comments
 (0)