diff --git a/src/mobx/stores/ServerConfig.ts b/src/mobx/stores/ServerConfig.ts index 6b44bec1..53fccce2 100644 --- a/src/mobx/stores/ServerConfig.ts +++ b/src/mobx/stores/ServerConfig.ts @@ -32,7 +32,7 @@ export default class ServerConfig } @action hydrate(data: RevoltConfiguration) { - this.config = data; + this.config = data ?? null; } /**