Commit 442b613e authored by Labros Papadopoulos's avatar Labros Papadopoulos
Browse files

fix: lint error

parent e1640194
Loading
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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,