Skip to content

Commit 2758139

Browse files
committed
fix: fix commits
1 parent 9717011 commit 2758139

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy