fix bug build

This commit is contained in:
ehsan
2025-05-03 11:17:33 +03:30
parent 5df5ffc1f9
commit 6a805bc627
2 changed files with 11 additions and 7 deletions
+1
View File
@@ -6,6 +6,7 @@ import SortList from "./sortlist";
import ListDoctors from "./listDoctors"; import ListDoctors from "./listDoctors";
import LocationD from "../icons/LocationD"; import LocationD from "../icons/LocationD";
import { useSearchParams } from "next/navigation"; import { useSearchParams } from "next/navigation";
import { Suspense } from "react";
function DoctorsPage() { function DoctorsPage() {
const [loading, setLoading] = useState(true); const [loading, setLoading] = useState(true);
+10 -7
View File
@@ -1,9 +1,12 @@
// next.config.js // next.config.js
const nextConfig = { const nextConfig = {
output: 'standalone', output: "standalone",
// Add other configurations below // Add other configurations below
reactStrictMode: true, reactStrictMode: true,
swcMinify: true, swcMinify: true,
} experimental: {
missingSuspenseWithCSRBailout: false,
module.exports = nextConfig },
};
module.exports = nextConfig;