website refactor
This commit is contained in:
@@ -8,11 +8,10 @@ import { ApiError } from '../api/base/ApiError';
|
||||
import { connectionMonitor } from '../api/base/ApiConnectionMonitor';
|
||||
|
||||
// Import notification system (will be used if available)
|
||||
let notificationSystem: any = null;
|
||||
try {
|
||||
// Dynamically import to avoid circular dependencies
|
||||
import('@/components/notifications/NotificationProvider').then(module => {
|
||||
notificationSystem = module;
|
||||
import('@/components/notifications/NotificationProvider').then(_module => {
|
||||
// Notification system available
|
||||
}).catch(() => {
|
||||
// Notification system not available yet
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user