Skip to content

Commit a5b2dbb

Browse files
committed
🧹
1 parent c4d85e5 commit a5b2dbb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

site/src/pages/WorkspacePage/WorkspaceTopbar.stories.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ export const WithFarAwayDeadline: Story = {
147147
});
148148
},
149149
};
150+
150151
export const WithFarAwayDeadlineRequiredByTemplate: Story = {
151152
args: {
152153
workspace: {
@@ -168,7 +169,7 @@ export const WithFarAwayDeadlineRequiredByTemplate: Story = {
168169
await userEvent.hover(canvas.getByTestId("schedule-controls-autostop"));
169170
await waitFor(() =>
170171
expect(screen.getByRole("tooltip")).toHaveTextContent(
171-
/template has an autostop requirment/,
172+
/template has an autostop requirement/,
172173
),
173174
);
174175
});

site/src/utils/schedule.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export const autostopDisplay = (
121121
let title = (
122122
<HelpTooltipTitle>Template Autostop requirement</HelpTooltipTitle>
123123
);
124-
let reason: ReactNode = ` because the ${template.display_name} template has an autostop requirment.`;
124+
let reason: ReactNode = ` because the ${template.display_name} template has an autostop requirement.`;
125125
if (template.autostop_requirement && template.allow_user_autostop) {
126126
title = <HelpTooltipTitle>Autostop schedule</HelpTooltipTitle>;
127127
reason = (

0 commit comments

Comments
 (0)