Skip to content

Commit 4b53c37

Browse files
committed
Enhance pricing table management in admin interface
- Added functionality to manage pricing tables, including creating, updating, and deleting pricing table entries. - Integrated pricing table data fetching using React Query for improved state management and error handling. - Updated the admin product management page to include a dialog for managing pricing tables, allowing users to input and display relevant pricing table information. - Enhanced error handling for missing Stripe configuration and pricing table loading failures.
1 parent 60e47f7 commit 4b53c37

File tree

3 files changed

+261
-129
lines changed

3 files changed

+261
-129
lines changed

frontend/next.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import type { NextConfig } from "next";
22

33
const nextConfig: NextConfig = {
4-
/* config options here */
4+
env: {
5+
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY: process.env.STRIPE_PUBLISHABLE_KEY,
6+
},
57
};
68

79
export default nextConfig;

0 commit comments

Comments
 (0)