diff --git a/apps/web/stores/validation/index.ts b/apps/web/stores/validation/index.ts index 6ac12f9..bb166e7 100644 --- a/apps/web/stores/validation/index.ts +++ b/apps/web/stores/validation/index.ts @@ -27,7 +27,7 @@ export default class Validation { public removeError = ({ key }: Pick) => { const error = [...this.errors].find((x) => x.key === key); if (error) this.errors.delete(error); - if (this.errors.size === 0) notification.destroy(this.params.err_key); + if (this.errors.size === 0 && !isServer()) notification.destroy(this.params.err_key); }; public setError = ({ key, message, silent }: ValidationParams) => {