Files
isletmem-kovakcrm/src
kovakmedya dd001ed5f4 fix: pre-create user_preferences row in getUserPrefs to prevent loop
createRow inside a Server Action triggers Next.js router cache
invalidation → layout reruns → components remount → loop.
By creating the empty row from getUserPrefs (Server Component,
not Server Action), saveUserPrefsAction always hits updateRow
which doesn't cause cache invalidation.
2026-05-09 02:22:04 +03:00
..