completionId: cgen-bcd3f7f9deca4be5bc47c4654f6935ee

cgen-bcd3f7f9deca4be5bc47c4654f6935ee
This commit is contained in:
Builder.io 2025-11-08 21:07:31 +00:00
parent 3afd3a6100
commit 6a21b13dc2

View file

@ -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;
}