Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdde304c

Browse files
committed
fix: format
1 parentca7d55f commitdde304c

File tree

4 files changed

+33
-33
lines changed

4 files changed

+33
-33
lines changed

‎site/src/modules/workspaces/WorkspaceMoreActions/WorkspaceMoreActions.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import {
2121
SettingsIcon,
2222
TrashIcon,
2323
}from"lucide-react";
24-
import{useDashboard}from"modules/dashboard/useDashboard";
2524
import{useDynamicParametersOptOut}from"modules/workspaces/DynamicParameter/useDynamicParametersOptOut";
2625
import{typeFC,useEffect,useState}from"react";
2726
import{useMutation,useQuery,useQueryClient}from"react-query";

‎site/src/modules/workspaces/WorkspaceUpdateDialogs.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { ErrorAlert } from "components/Alert/ErrorAlert";
1010
import{ConfirmDialog}from"components/Dialogs/ConfirmDialog/ConfirmDialog";
1111
import{Loader}from"components/Loader/Loader";
1212
import{MemoizedInlineMarkdown}from"components/Markdown/Markdown";
13-
import{useDashboard}from"modules/dashboard/useDashboard";
1413
import{useDynamicParametersOptOut}from"modules/workspaces/DynamicParameter/useDynamicParametersOptOut";
1514
import{UpdateBuildParametersDialog}from"modules/workspaces/WorkspaceMoreActions/UpdateBuildParametersDialog";
1615
import{UpdateBuildParametersDialogExperimental}from"modules/workspaces/WorkspaceMoreActions/UpdateBuildParametersDialogExperimental";

‎site/src/pages/CreateWorkspacePage/CreateWorkspaceExperimentRouter.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ import { ExperimentalFormContext } from "./ExperimentalFormContext";
1515
constCreateWorkspaceExperimentRouter:FC=()=>{
1616
const{organization:organizationName="default",template:templateName}=
1717
useParams()as{organization?:string;template:string};
18-
consttemplateQuery=useQuery(templateByName(organizationName,templateName));
18+
consttemplateQuery=useQuery(
19+
templateByName(organizationName,templateName),
20+
);
1921

2022
constoptOutQuery=useDynamicParametersOptOut({
2123
templateId:templateQuery.data?.id,
@@ -45,7 +47,7 @@ const CreateWorkspaceExperimentRouter: FC = () => {
4547
localStorage.setItem(key,(!current).toString());
4648
optOutQuery.refetch();
4749
};
48-
50+
4951
return(
5052
<ExperimentalFormContext.Providervalue={{ toggleOptedOut}}>
5153
{optOutQuery.data.optedOut ?(

‎site/src/pages/TemplateSettingsPage/TemplateGeneralSettingsPage/TemplateSettingsForm.tsx

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -224,35 +224,35 @@ export const TemplateSettingsForm: FC<TemplateSettingsForm> = ({
224224
</StackLabel>
225225
}
226226
/>
227-
<FormControlLabel
228-
control={
229-
<Checkbox
230-
size="small"
231-
id="use_classic_parameter_flow"
232-
name="use_classic_parameter_flow"
233-
checked={form.values.use_classic_parameter_flow}
234-
onChange={form.handleChange}
235-
disabled={false}
236-
/>
237-
}
238-
label={
239-
<StackLabel>
240-
Use classic workspace creation form
241-
<StackLabelHelperText>
242-
<span>
243-
Show the original workspace creation form and workspace
244-
parameters settings form without dynamic parameters or
245-
liveupdates. Recommended if your provisioners aren't
246-
updated orthe new form causes issues.{" "}
247-
<strong>
248-
Users can always manually switch experiences in the
249-
workspace creation form.
250-
</strong>
251-
</span>
252-
</StackLabelHelperText>
253-
</StackLabel>
254-
}
255-
/>
227+
<FormControlLabel
228+
control={
229+
<Checkbox
230+
size="small"
231+
id="use_classic_parameter_flow"
232+
name="use_classic_parameter_flow"
233+
checked={form.values.use_classic_parameter_flow}
234+
onChange={form.handleChange}
235+
disabled={false}
236+
/>
237+
}
238+
label={
239+
<StackLabel>
240+
Use classic workspace creation form
241+
<StackLabelHelperText>
242+
<span>
243+
Show the original workspace creation form and workspace
244+
parameters settings form without dynamic parameters or live
245+
updates. Recommended if your provisioners aren't updated or
246+
the new form causes issues.{" "}
247+
<strong>
248+
Users can always manually switch experiences in the
249+
workspace creation form.
250+
</strong>
251+
</span>
252+
</StackLabelHelperText>
253+
</StackLabel>
254+
}
255+
/>
256256
</FormFields>
257257
</FormSection>
258258

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp