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.

run prettier

Steven Teyf90ae608bb01
diff --git a/apps/web/lib/api/links/utils.ts b/apps/web/lib/api/links/utils.ts
index 62c74f2632..4e94d3cc65 100644
--- a/apps/web/lib/api/links/utils.ts
+++ b/apps/web/lib/api/links/utils.ts
@@ -1,14 +1,11 @@
import { isReservedKey, isReservedUsername } from "@/lib/edge-config";
import { checkIfKeyExists } from "@/lib/planetscale";
-import { SimpleLinkProps, WorkspaceProps } from "@/lib/types";
+import { WorkspaceProps } from "@/lib/types";
import {
DEFAULT_REDIRECTS,
- GOOGLE_FAVICON_URL,
SHORT_DOMAIN,
- getApexDomain,
isDubDomain,
linkConstructor,
- log,
punyEncode,
validKeyRegex,
} from "@dub/utils";
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";