fix: Register staff notifications route and fix import paths
## 🐛 Bug Fixes **App.tsx:** - ✅ Added StaffNotifications import - ✅ Registered `/settings/notifications/staff` route **Staff/Channels.tsx:** - ✅ Fixed SettingsCard import path (../../components/SettingsCard) - ✅ Fixed ChannelConfig import path (../ChannelConfig) **Staff.tsx:** - ✅ Removed recipientType prop from Templates (not supported yet) --- **Status:** Staff notifications route should now work correctly
This commit is contained in:
@@ -201,6 +201,7 @@ import SettingsTax from '@/routes/Settings/Tax';
|
||||
import SettingsCustomers from '@/routes/Settings/Customers';
|
||||
import SettingsLocalPickup from '@/routes/Settings/LocalPickup';
|
||||
import SettingsNotifications from '@/routes/Settings/Notifications';
|
||||
import StaffNotifications from '@/routes/Settings/Notifications/Staff';
|
||||
import SettingsDeveloper from '@/routes/Settings/Developer';
|
||||
import MorePage from '@/routes/More';
|
||||
|
||||
@@ -488,6 +489,7 @@ function AppRoutes() {
|
||||
<Route path="/settings/local-pickup" element={<SettingsLocalPickup />} />
|
||||
<Route path="/settings/checkout" element={<SettingsIndex />} />
|
||||
<Route path="/settings/notifications" element={<SettingsNotifications />} />
|
||||
<Route path="/settings/notifications/staff" element={<StaffNotifications />} />
|
||||
<Route path="/settings/brand" element={<SettingsIndex />} />
|
||||
<Route path="/settings/developer" element={<SettingsDeveloper />} />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user