diff --git a/.xatarc b/.xatarc index 9ae9b7c..93c8e73 100644 --- a/.xatarc +++ b/.xatarc @@ -1,6 +1,6 @@ { - "databaseURL": "https://Usman-Sabuwala-s-workspace-u2kcvd.us-east-1.xata.sh/db/project-finder-hf", + "databaseURL": "https://Amandee-Manushika-s-workspace-d6c47s.us-east-1.xata.sh/db/amandee-db", "codegen": { - "output": "xata.ts" + "output": "src/xata.ts" } -} \ No newline at end of file +} diff --git a/src/app/(public)/repos/[language]/_components/sorter.tsx b/src/app/(public)/repos/[language]/_components/sorter.tsx index aa5e9b3..52ba306 100644 --- a/src/app/(public)/repos/[language]/_components/sorter.tsx +++ b/src/app/(public)/repos/[language]/_components/sorter.tsx @@ -23,6 +23,7 @@ enum SortTypes { export function Sorter() { const searchParams = useSearchParams(); const pathname = usePathname(); + const urlSearchParam = new URLSearchParams(searchParams); const navigationItems = [ { @@ -129,7 +130,7 @@ export function Sorter() {