fix: prefereneces and hydration KO with buffer id

This commit is contained in:
Julien Froidefond
2025-04-03 10:23:22 +02:00
parent 23247576bb
commit 9b130f2056

View File

@@ -27,6 +27,7 @@ export class PreferencesService {
return {
...defaultPreferences,
...preferences.toObject(),
_id: undefined, //plain object KO on server components hydration
};
} catch (error) {
if (error instanceof AppError) {