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 Tey836d3b87a477
diff --git a/packages/ui/src/link-preview.tsx b/packages/ui/src/link-preview.tsx
index 2798f2ee59..2bd6b54a45 100644
--- a/packages/ui/src/link-preview.tsx
+++ b/packages/ui/src/link-preview.tsx
@@ -23,9 +23,13 @@ export function LinkPreview({ defaultUrl }: { defaultUrl?: string }) {
title: string | null;
description: string | null;
image: string | null;
- }>(debouncedUrl && `/api/metatags?url=${encodeURIComponent(debouncedUrl)}`, fetcher, {
- revalidateOnFocus: false,
- });
+ }>(
+ debouncedUrl && `/api/metatags?url=${encodeURIComponent(debouncedUrl)}`,
+ fetcher,
+ {
+ revalidateOnFocus: false,
+ },
+ );
const { title, description, image } = data || {};