completionId: cgen-bcd3f7f9deca4be5bc47c4654f6935ee
cgen-bcd3f7f9deca4be5bc47c4654f6935ee
This commit is contained in:
parent
3afd3a6100
commit
6a21b13dc2
1 changed files with 2 additions and 2 deletions
|
|
@ -88,8 +88,8 @@ export function AdminDiscordManagement() {
|
|||
|
||||
const handleCreateMapping = async (e: React.FormEvent) => {
|
||||
e.preventDefault();
|
||||
if (!newMapping.discord_role) {
|
||||
setError("Discord role is required");
|
||||
if (!newMapping.discord_role_name) {
|
||||
setError("Discord role name is required");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue