fix: export static fixed

This commit is contained in:
2026-02-20 20:45:59 +03:30
parent f641409d8a
commit d056c8b96c
4 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ echo "# Next.js build output
.next/ .next/
.next/** .next/**
.next/dev/lock .next/dev/lock
out
# Dependencies # Dependencies
node_modules/ node_modules/
+6 -6
View File
@@ -157,12 +157,12 @@ export default function UsersPage() {
// Filter available products (show ALL products, don't filter out ones user already has) // Filter available products (show ALL products, don't filter out ones user already has)
const availableProducts = products; const availableProducts = products;
console.log('Current state:', { // console.log('Current state:', {
selectedPackage, // selectedPackage,
productsCount: products.length, // productsCount: products.length,
userProductsCount: user?.products?.length, // userProductsCount: user?.products?.length,
availableProductsCount: availableProducts.length // availableProductsCount: availableProducts.length
}); // });
return ( return (
<div className="p-6"> <div className="p-6">
+1 -1
View File
@@ -1,6 +1,6 @@
/// <reference types="next" /> /// <reference types="next" />
/// <reference types="next/image-types/global" /> /// <reference types="next/image-types/global" />
import "./.next/dev/types/routes.d.ts"; import "./.next/types/routes.d.ts";
// NOTE: This file should not be edited // NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
+6
View File
@@ -0,0 +1,6 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: 'export',
};
export default nextConfig;