feat: Add expandable section for creating products with integrated product form
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import InventoryForm from './InventoryForm';
|
||||
import ProductForm from './ProductForm';
|
||||
import Link from 'next/link';
|
||||
import { fetchJson } from '../../lib/api';
|
||||
import type { InventoryItem, Product } from '../../features/inventory/types';
|
||||
@@ -109,7 +108,6 @@ export default async function InventoryPage({ searchParams }: InventoryPageProps
|
||||
<Navigation />
|
||||
<h1 style={{ marginBottom: '1.5rem' }}>Varor hemma</h1>
|
||||
|
||||
<ProductForm />
|
||||
<InventoryForm products={products} />
|
||||
|
||||
<section style={{ marginBottom: '1.5rem' }}>
|
||||
|
||||
Reference in New Issue
Block a user