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.

add loading state

Steven Tey27e06175dc6a
diff --git a/apps/web/app/app.dub.co/embed/widget/loading.tsx b/apps/web/app/app.dub.co/embed/widget/loading.tsx
new file mode 100644
index 0000000000..45e2253172
--- /dev/null
+++ b/apps/web/app/app.dub.co/embed/widget/loading.tsx
@@ -0,0 +1,9 @@
+import { LoadingSpinner } from "@dub/ui/src/icons";
+
+export default function EmbedWidgetLoading() {
+ return (
+ <div className="flex h-full w-full items-center justify-center">
+ <LoadingSpinner />
+ </div>
+ );
+}