Skip to content

Commit 11f565b

Browse files
committed
Ignore chromatic changes
1 parent 5fbf729 commit 11f565b

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

site/src/pages/CreateTokenPage/CreateTokenForm.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,19 @@ export const CreateTokenForm: FC<CreateTokenFormProps> = ({
8080
</FormFields>
8181
</FormSection>
8282
<FormSection
83-
data-chromatic="ignore"
8483
title="Expiration"
8584
description={
86-
form.values.lifetime
87-
? `The token will expire on ${dayjs()
85+
form.values.lifetime ? (
86+
<span data-chromatic="ignore">
87+
The token will expire on $
88+
{dayjs()
8889
.add(form.values.lifetime, "days")
8990
.utc()
90-
.format("MMMM DD, YYYY")}`
91-
: "Please set a token expiration."
91+
.format("MMMM DD, YYYY")}
92+
</span>
93+
) : (
94+
"Please set a token expiration."
95+
)
9296
}
9397
classes={{ sectionInfo: classNames.sectionInfo }}
9498
>

site/src/pages/CreateWorkspacePage/CreateWorkspacePageView.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,10 @@ export const CreateWorkspacePageView: FC<CreateWorkspacePageViewProps> = ({
304304
fullWidth
305305
label="Workspace Name"
306306
/>
307-
<FormHelperText data-chromatic="ignore">
307+
<FormHelperText>
308308
Need a suggestion?{" "}
309309
<Button
310+
data-chromatic="ignore"
310311
variant="subtle"
311312
size="sm"
312313
css={styles.nameSuggestion}

site/src/pages/CreateWorkspacePage/CreateWorkspacePageViewExperimental.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ export const CreateWorkspacePageViewExperimental: FC<
346346
<div className="flex gap-2 text-xs text-content-secondary items-center">
347347
Need a suggestion?
348348
<Button
349+
data-chromatic="ignore"
349350
variant="subtle"
350351
size="sm"
351352
onClick={async () => {

0 commit comments

Comments
 (0)