Skip to content

Commit 5c8b3b2

Browse files
committed
fix: remove unused saveSettings variable from PushNotificationPanel
- Remove savePushNotificationSettings to fix TypeScript warning - Panel uses global save button like other panels without individual save - This warning may have been preventing the component from rendering
1 parent 1ba49fa commit 5c8b3b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/settings/panels/PushNotificationPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const PushNotificationPanel: React.FC = () => {
2121
loading,
2222
error,
2323
updateSettings,
24-
saveSettings: savePushNotificationSettings,
24+
// saveSettings is not used in panels - they use the global save
2525
} = useGenericSettings('push_notifications');
2626

2727
const [form] = Form.useForm();

0 commit comments

Comments
 (0)