Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

make website required

Steven Teydf24474eaf1e
diff --git a/apps/web/app/partners.dub.co/(apply)/[programSlug]/apply/form.tsx b/apps/web/app/partners.dub.co/(apply)/[programSlug]/apply/form.tsx
index 490855d7d9..c952e61c7b 100644
--- a/apps/web/app/partners.dub.co/(apply)/[programSlug]/apply/form.tsx
+++ b/apps/web/app/partners.dub.co/(apply)/[programSlug]/apply/form.tsx
@@ -133,7 +133,6 @@ export function ProgramApplicationForm({
<label>
<span className="text-sm font-medium text-neutral-800">
Website / Social media channel
- <span className="font-normal text-neutral-500"> (optional)</span>
</span>
<input
type="text"
@@ -144,7 +143,9 @@ export function ProgramApplicationForm({
: "border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-[var(--brand)] focus:ring-[var(--brand)]",
)}
placeholder="https://example.com"
- {...register("website")}
+ {...register("website", {
+ required: true,
+ })}
/>
</label>