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.

Remove delay

Tim Wilson3d466ce18c60
diff --git a/apps/web/ui/layout/user-survey/index.tsx b/apps/web/ui/layout/user-survey/index.tsx
index 1879723d8c..cb43d26afe 100644
--- a/apps/web/ui/layout/user-survey/index.tsx
+++ b/apps/web/ui/layout/user-survey/index.tsx
@@ -53,7 +53,6 @@ export function UserSurveyPopupInner() {
onSubmit={async (source) => {
setStatus("loading");
try {
- await new Promise((resolve) => setTimeout(resolve, 2000));
await fetch("/api/user", {
method: "PUT",
headers: {