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.

format

Kiran K697ef350a299
diff --git a/apps/web/tests/links/create-link.test.ts b/apps/web/tests/links/create-link.test.ts
index f7b8818157..51a26798e4 100644
--- a/apps/web/tests/links/create-link.test.ts
+++ b/apps/web/tests/links/create-link.test.ts
@@ -3,8 +3,8 @@ import { Link, Tag } from "@prisma/client";
import { afterAll, describe, expect, test } from "vitest";
import { HttpClient } from "../utils/http";
import { IntegrationHarness } from "../utils/integration";
-import { expectedLink } from "../utils/schema";
import { link } from "../utils/resource";
+import { expectedLink } from "../utils/schema";
const { domain, url } = link;
diff --git a/apps/web/tests/links/list-links.test.ts b/apps/web/tests/links/list-links.test.ts
index a92038f1d6..679787ca60 100644
--- a/apps/web/tests/links/list-links.test.ts
+++ b/apps/web/tests/links/list-links.test.ts
@@ -2,8 +2,8 @@ import { Link } from "@prisma/client";
import { expect, test } from "vitest";
import { HttpClient } from "../utils/http";
import { IntegrationHarness } from "../utils/integration";
-import { expectedLink } from "../utils/schema";
import { link } from "../utils/resource";
+import { expectedLink } from "../utils/schema";
const { domain, url } = link;
diff --git a/apps/web/tests/links/update-link.test.ts b/apps/web/tests/links/update-link.test.ts
index adc8a7c908..dc1f77bdb5 100644
--- a/apps/web/tests/links/update-link.test.ts
+++ b/apps/web/tests/links/update-link.test.ts
@@ -1,10 +1,10 @@
import { nanoid } from "@dub/utils";
import { Link } from "@prisma/client";
-import { expect, test, describe, afterAll } from "vitest";
+import { afterAll, describe, expect, test } from "vitest";
import { HttpClient } from "../utils/http";
import { IntegrationHarness } from "../utils/integration";
-import { expectedLink } from "../utils/schema";
import { link } from "../utils/resource";
+import { expectedLink } from "../utils/schema";
const { domain, url } = link;
diff --git a/packages/ui/src/hooks/index.ts b/packages/ui/src/hooks/index.ts
index 46eade4946..c65f6892d1 100644
--- a/packages/ui/src/hooks/index.ts
+++ b/packages/ui/src/hooks/index.ts
@@ -5,7 +5,7 @@ export * from "./use-intersection-observer";
export * from "./use-local-storage";
export * from "./use-media-query";
export * from "./use-optimistic-update";
+export * from "./use-resize-observer";
export * from "./use-router-stuff";
export * from "./use-scroll";
export * from "./use-toast-with-undo";
-export * from "./use-resize-observer";