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.

Merge branch 'main' into csv-import

Tim Wilsonc3ba73bd14c4
diff --cc apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
index 3e47b4cc7c,5f9e1b59e2..40c3abadc5
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
@@@ -20,10 -20,14 +20,13 @@@ import
Popover,
Tooltip,
TooltipContent,
+ useMediaQuery,
useRouterStuff,
} from "@dub/ui";
-import { CloudUpload, Download, Tag } from "@dub/ui/src/icons";
-import { Sheet } from "lucide-react";
+import { CloudUpload, Download, TableIcon, Tag } from "@dub/ui/src/icons";
+ import { useSession } from "next-auth/react";
import { useRouter } from "next/navigation";
+ import posthog from "posthog-js";
import {
Dispatch,
ReactNode,
diff --cc apps/web/package.json
index 2e7fdaf41b,2332dbe47b..111a8e8b0e
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@@ -54,8 -54,9 +54,9 @@@
"@visx/shape": "^2.12.2",
"@visx/text": "^3.3.0",
"@visx/tooltip": "^2.16.0",
- "ai": "^3.1.22",
+ "ai": "^3.2.38",
- "aws4fetch": "^1.0.18",
+ "aws4fetch": "^1.0.19",
+ "bcryptjs": "^2.4.3",
"bottleneck": "^2.19.5",
"cmdk": "^0.2.0",
"cobe": "^0.6.3",
diff --cc apps/web/ui/modals/modal-provider.tsx
index a21f9c8198,6bfd4e08d5..a0e7293735
--- a/apps/web/ui/modals/modal-provider.tsx
+++ b/apps/web/ui/modals/modal-provider.tsx
@@@ -50,10 -49,17 +51,18 @@@ export const ModalContext = createConte
setShowImportBitlyModal: () => {},
setShowImportShortModal: () => {},
setShowImportRebrandlyModal: () => {},
+ setShowImportCsvModal: () => {},
});
- export default function ModalProvider({ children }: { children: ReactNode }) {
+ export function ModalProvider({ children }: { children: ReactNode }) {
+ return (
+ <Suspense>
+ <ModalProviderClient>{children}</ModalProviderClient>
+ </Suspense>
+ );
+ }
+
+ function ModalProviderClient({ children }: { children: ReactNode }) {
const searchParams = useSearchParams();
const newLinkValues = useMemo(() => {
const newLink = searchParams.get("newLink");
diff --cc pnpm-lock.yaml
index d72a6cc37b,39d5744a4b..e40a56fccb
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@@ -159,11 -159,14 +159,14 @@@ importers
specifier: ^2.16.0
ai:
- specifier: ^3.1.22
+ specifier: ^3.2.38
aws4fetch:
- specifier: ^1.0.18
- version: 1.0.18
+ specifier: ^1.0.19
+ version: 1.0.19
+ bcryptjs:
+ specifier: ^2.4.3
+ version: 2.4.3
bottleneck:
specifier: ^2.19.5
version: 2.19.5