Spaces:
Running
Running
axeronis commited on
Commit ·
b9acb94
1
Parent(s): 091d667
Fix build: Create missing products page and update imports
Browse files
frontend/app/knowledge/page.tsx
CHANGED
|
@@ -10,7 +10,7 @@ import { useAuth } from '@/contexts/AuthContext'
|
|
| 10 |
import { useToast } from '@/contexts/ToastContext'
|
| 11 |
import { motion, AnimatePresence } from 'framer-motion'
|
| 12 |
|
| 13 |
-
import
|
| 14 |
|
| 15 |
export default function KnowledgePage() {
|
| 16 |
const [activeTab, setActiveTab] = useState<'files' | 'catalog'>('files')
|
|
@@ -395,7 +395,7 @@ export default function KnowledgePage() {
|
|
| 395 |
animate={{ opacity: 1, y: 0 }}
|
| 396 |
className="bg-white rounded-2xl shadow-sm border border-slate-200 p-8 min-h-[600px]"
|
| 397 |
>
|
| 398 |
-
<
|
| 399 |
</motion.div>
|
| 400 |
)}
|
| 401 |
</div>
|
|
|
|
| 10 |
import { useToast } from '@/contexts/ToastContext'
|
| 11 |
import { motion, AnimatePresence } from 'framer-motion'
|
| 12 |
|
| 13 |
+
import ProductSettings from '@/components/settings/ProductSettings'
|
| 14 |
|
| 15 |
export default function KnowledgePage() {
|
| 16 |
const [activeTab, setActiveTab] = useState<'files' | 'catalog'>('files')
|
|
|
|
| 395 |
animate={{ opacity: 1, y: 0 }}
|
| 396 |
className="bg-white rounded-2xl shadow-sm border border-slate-200 p-8 min-h-[600px]"
|
| 397 |
>
|
| 398 |
+
<ProductSettings />
|
| 399 |
</motion.div>
|
| 400 |
)}
|
| 401 |
</div>
|
frontend/app/settings/products/page.tsx
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'use client'
|
| 2 |
+
|
| 3 |
+
import ProductSettings from '@/components/settings/ProductSettings'
|
| 4 |
+
|
| 5 |
+
export default function ProductsPage() {
|
| 6 |
+
return <ProductSettings />
|
| 7 |
+
}
|