Loading app/marketplace/page.tsx +6 −6 Original line number Diff line number Diff line Loading @@ -14,12 +14,12 @@ import { hasAccessToView } from '@/actions/roles-viewAccess'; export const dynamic = 'force-dynamic'; function getCurrentPath() { if (typeof window !== 'undefined') { return window.location.pathname; } return ''; } // function getCurrentPath() { // if (typeof window !== 'undefined') { // return window.location.pathname; // } // return ''; // } export default async function Marketplace({ searchParams, Loading Loading
app/marketplace/page.tsx +6 −6 Original line number Diff line number Diff line Loading @@ -14,12 +14,12 @@ import { hasAccessToView } from '@/actions/roles-viewAccess'; export const dynamic = 'force-dynamic'; function getCurrentPath() { if (typeof window !== 'undefined') { return window.location.pathname; } return ''; } // function getCurrentPath() { // if (typeof window !== 'undefined') { // return window.location.pathname; // } // return ''; // } export default async function Marketplace({ searchParams, Loading