From 8269d51ecab78412f83729987271c072fd805865 Mon Sep 17 00:00:00 2001 From: Shane Afsar Date: Tue, 17 Oct 2023 12:54:39 -0400 Subject: [PATCH] Update form (#2102) --- packages/website/src/components/ApplyForm.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/packages/website/src/components/ApplyForm.js b/packages/website/src/components/ApplyForm.js index 2b5df7bd..46270d17 100644 --- a/packages/website/src/components/ApplyForm.js +++ b/packages/website/src/components/ApplyForm.js @@ -43,6 +43,9 @@ function ApplyForm() { formData.forEach(function (value, key) { data[key] = value; }); + if (!data.repoURL) { + data.repoURL = 'https://www.github.com/algolia/docsearch'; + } const body = JSON.stringify(data); fetch(action, { @@ -161,23 +164,19 @@ function ApplyForm() { key="repoURL" className="apply-text" > - Repository URL + Repository URL (Optional) - - We will use this link to determine if your project is open-source. - -