Skip to content

Commit 4df993c

Browse files
committed
fix: fix format
1 parent 97bf14a commit 4df993c

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

site/src/pages/TemplateSettingsPage/TemplateSchedulePage/ScheduleDialog.tsx

+15-7
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,15 @@ export const ScheduleDialog: FC<ScheduleDialogProps> = ({
6969
<p css={styles.dialogDescription}>
7070
This change will result in{" "}
7171
<strong>{inactiveWorkspacesToGoDormant}</strong>{" "}
72-
{inactiveWorkspacesToGoDormant === 1 ? "workspace" : "workspaces"}{" "}
72+
{inactiveWorkspacesToGoDormant === 1
73+
? "workspace"
74+
: "workspaces"}{" "}
7375
being immediately transitioned to the dormant state and{" "}
7476
<strong>{inactiveWorkspacesToGoDormantInWeek}</strong>{" "}
75-
{inactiveWorkspacesToGoDormantInWeek === 1 ? "workspace" : "workspaces"} over the
76-
next 7 days. To prevent this, do you want to reset the
77+
{inactiveWorkspacesToGoDormantInWeek === 1
78+
? "workspace"
79+
: "workspaces"}{" "}
80+
over the next 7 days. To prevent this, do you want to reset the
7781
inactivity period for all template workspaces?
7882
</p>
7983
<FormControlLabel
@@ -97,12 +101,16 @@ export const ScheduleDialog: FC<ScheduleDialogProps> = ({
97101
<p css={styles.dialogDescription}>
98102
This change will result in{" "}
99103
<strong>{dormantWorkspacesToBeDeleted}</strong>{" "}
100-
{dormantWorkspacesToBeDeleted === 1 ? "workspace" : "workspaces"}{" "}
104+
{dormantWorkspacesToBeDeleted === 1
105+
? "workspace"
106+
: "workspaces"}{" "}
101107
being immediately deleted and{" "}
102108
<strong>{dormantWorkspacesToBeDeletedInWeek}</strong>{" "}
103-
{dormantWorkspacesToBeDeletedInWeek === 1 ? "workspace" : "workspaces"} over the
104-
next 7 days. To prevent this, do you want to reset the dormancy
105-
period for all template workspaces?
109+
{dormantWorkspacesToBeDeletedInWeek === 1
110+
? "workspace"
111+
: "workspaces"}{" "}
112+
over the next 7 days. To prevent this, do you want to reset the
113+
dormancy period for all template workspaces?
106114
</p>
107115
<FormControlLabel
108116
css={{ marginTop: 16 }}

0 commit comments

Comments
 (0)