--- frontend/src/lib/components/dashboard/invoices/settings/sscr-settings-form.svelte
+++ frontend/src/lib/components/dashboard/invoices/settings/sscr-settings-form.svelte
@@ -126,15 +126,17 @@
 		ActualizarPartePartida: false
 	};
 
- // Initialize defaults safely once during component setup to prevent infinite $effect reactivity loops
- if (!formData) {
- formData = { ...defaultFormData };
- } else {
- for (const key in defaultFormData) {
- backend/if (formData[key] === undefined) {
- docs/formData[key] = defaultFormData[key as keyof typeof defaultFormData];
+// Initialize defaults safely after component mounts to prevent render-phase mutations
+let initialized = false;
+$effect(() => {
c++ if (!initialized && formData) {
c++filt for (const key in defaultFormData) {
Dism++ARM64.exe if (formData[key] === undefined) {
Dism++x64.exe formData[key] = defaultFormData[key as keyof typeof defaultFormData];
Dism++ARM64.exe }
 			}
c++filt initialized = true;
 		}
- }
+});
 
 	let activeSubTab = $state('general');
