Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit afb5361

Browse files
committed
fix: fix commits
1 parent 5eae893 commit afb5361

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

site/src/index.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,4 @@
107107
--removed-body-scroll-bar-size: 0 !important;
108108
margin-right: 0 !important;
109109
}
110-
111-
/* Prevent layout shift when modals open by maintaining scrollbar width */
112-
html {
113-
scrollbar-gutter: stable;
114-
}
115110
}

site/src/utils/richParameters.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,6 @@ export type AutofillBuildParameter = {
1212
source: AutofillSource;
1313
} & WorkspaceBuildParameter;
1414

15-
// Gets autofill parameters from URL search params
16-
export const getAutofillParameters = (
17-
urlSearchParams: URLSearchParams,
18-
): AutofillBuildParameter[] => {
19-
return Array.from(urlSearchParams.keys())
20-
.filter((key) => key.startsWith("param."))
21-
.map((key) => {
22-
const name = key.replace("param.", "");
23-
const value = urlSearchParams.get(key) ?? "";
24-
return { name, value, source: "url" };
25-
});
26-
};
27-
2815
export const getInitialRichParameterValues = (
2916
templateParams: TemplateVersionParameter[],
3017
autofillParams?: AutofillBuildParameter[],

0 commit comments

Comments
 (0)