More le fixes
This commit is contained in:
@@ -80,6 +80,7 @@ export default function () {
|
||||
title: "Game mod added",
|
||||
});
|
||||
onClose();
|
||||
location.reload();
|
||||
}
|
||||
|
||||
setIdToAdd("");
|
||||
@@ -157,8 +158,7 @@ export default function () {
|
||||
<Button
|
||||
colorScheme="blue"
|
||||
disabled={
|
||||
idToAdd.length < 17 ||
|
||||
idToAdd.length > 19 ||
|
||||
!idToAdd.match(/\d{17,19}/) ||
|
||||
nameToAdd.length < 1 ||
|
||||
nameToAdd.length > 32
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user