Skip to content

Commit 1ba49fa

Browse files
committed
debug: add console logs to trace push notification panel rendering issue
- Add console.log at component mount to verify if PushNotificationPanel is rendering - Log hook results to check if useGenericSettings is working correctly - These logs will help identify why the panel isn't appearing in the DOM
1 parent ccbd74a commit 1ba49fa

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/components/settings/panels/PushNotificationPanel.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ import { SettingsGroupType } from '@app/types/settings.types';
1414
import BaseSettingsPanel from '../BaseSettingsPanel';
1515

1616
const PushNotificationPanel: React.FC = () => {
17+
console.log('PushNotificationPanel - Component rendering');
18+
1719
const {
1820
settings,
1921
loading,
@@ -24,6 +26,8 @@ const PushNotificationPanel: React.FC = () => {
2426

2527
const [form] = Form.useForm();
2628
const [isUserEditing, setIsUserEditing] = useState(false);
29+
30+
console.log('PushNotificationPanel - Hook result:', { settings, loading, error });
2731

2832
// Listen for global save event
2933
useEffect(() => {

0 commit comments

Comments
 (0)