fix: prefereneces and hydration KO with buffer id
This commit is contained in:
@@ -27,6 +27,7 @@ export class PreferencesService {
|
|||||||
return {
|
return {
|
||||||
...defaultPreferences,
|
...defaultPreferences,
|
||||||
...preferences.toObject(),
|
...preferences.toObject(),
|
||||||
|
_id: undefined, //plain object KO on server components hydration
|
||||||
};
|
};
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error instanceof AppError) {
|
if (error instanceof AppError) {
|
||||||
|
|||||||
Reference in New Issue
Block a user