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.

Fix the folder action

Kiran K19e2c95df315
diff --git a/apps/web/ui/folders/folder-switcher.tsx b/apps/web/ui/folders/folder-switcher.tsx
index 54bc8690f9..4c9f606bb4 100644
--- a/apps/web/ui/folders/folder-switcher.tsx
+++ b/apps/web/ui/folders/folder-switcher.tsx
@@ -29,6 +29,7 @@ export const FolderSwitcher = () => {
const { folder } = useFolder({
folderId,
+ enabled: !!folderId,
});
useEffect(() => {