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.

ignore sortBy and sortOrder in AppSidebarNav getQueryString

Steven Tey1f63ace59993
diff --git a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
index a2ed30981d..8ab08967e3 100644
--- a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
+++ b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
@@ -264,7 +264,9 @@ export function AppSidebarNav({
currentArea={currentArea}
data={{
slug: slug || "",
- queryString: getQueryString(),
+ queryString: getQueryString(undefined, {
+ ignore: ["sortBy", "sortOrder"],
+ }),
flags,
programs,
session: session || undefined,