diff --git a/src/app/modules/user/main/compose/sign-up-compose.component.ts b/src/app/modules/user/main/compose/sign-up-compose.component.ts index c4f37b2..bd1c1c0 100644 --- a/src/app/modules/user/main/compose/sign-up-compose.component.ts +++ b/src/app/modules/user/main/compose/sign-up-compose.component.ts @@ -103,7 +103,11 @@ export class SignUpComposeComponent implements OnInit { /** * Send the message */ - send(): void {} + send(): void { + if (!this.signupComposeForm.valid) { + return; + } + } __checkUsernameDuplicate(event: FocusEvent): void { const username = this.signupComposeForm.get('username')?.value;