diff --git a/next.config.mjs b/next.config.mjs index cdcfb68..5e2aab0 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -40,7 +40,7 @@ const nextConfig = { // Routing is host-based so neither deploy needs a custom env. A // `BACKEND_API_BASE_URL` env var (if set) overrides both — handy for local // dev pointing at e.g. http://localhost:8080/admin/v1. - //! ⚠️ IMPORTANT: Adding BACKEND_API_BASE_URL to env file will break the multi-domain feature. + // ! ⚠️ IMPORTANT: Adding BACKEND_API_BASE_URL to env file will break the multi-domain feature. const override = process.env.BACKEND_API_BASE_URL; if (override) { return [ diff --git a/src/components/ui/tableSortContext.ts b/src/components/ui/tableSortContext.ts index 78acbcf..3c4aac5 100644 --- a/src/components/ui/tableSortContext.ts +++ b/src/components/ui/tableSortContext.ts @@ -1,3 +1,5 @@ +"use client"; + import { createContext } from "react"; export type SortDirection = "asc" | "desc";