diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx
index 15fea0b..31510f1 100644
--- a/frontend/src/App.tsx
+++ b/frontend/src/App.tsx
@@ -158,7 +158,7 @@ function App() {
{notification && {notification}
}
- {view === 'customer' ? : }
+ {view === 'customer' ? : }
{showCartModal && setShowCartModal(false)} onRemove={removeFromCart} onUpdateQty={updateCartQty} onSubmit={submitOrder} />}
diff --git a/frontend/src/components/AdminDashboard.tsx b/frontend/src/components/AdminDashboard.tsx
index 5bc127f..7661d3e 100644
--- a/frontend/src/components/AdminDashboard.tsx
+++ b/frontend/src/components/AdminDashboard.tsx
@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
import { Icons } from './Icons';
import { API } from '../services/api';
-export default function AdminDashboard({ stock, orders, refreshData, notify, promptConfirm }: any) {
+export default function AdminDashboard({ stock, orders, config, refreshData, notify, promptConfirm }: any) {
const [tab, setTab] = useState<'orders' | 'stock' | 'settings'>('orders');
const [newAdminCode, setNewAdminCode] = useState('');
@@ -189,7 +189,7 @@ export default function AdminDashboard({ stock, orders, refreshData, notify, pro
API.updateConfig({ finalDepositDate: e.target.value }).then(refreshData)}
className="w-full bg-stone-900 border border-stone-700 rounded p-3 text-white focus:border-red-600 outline-none"
/>
@@ -198,7 +198,7 @@ export default function AdminDashboard({ stock, orders, refreshData, notify, pro
API.updateConfig({ cookDay: e.target.value }).then(refreshData)}
className="w-full bg-stone-900 border border-stone-700 rounded p-3 text-white focus:border-red-600 outline-none"
/>
@@ -209,7 +209,7 @@ export default function AdminDashboard({ stock, orders, refreshData, notify, pro
API.updateConfig({ payIdInfo: e.target.value }).then(refreshData)}
className="w-full bg-stone-900 border border-stone-700 rounded p-3 text-white focus:border-red-600 outline-none"
/>