refactor(create-room): adding form validations

This commit is contained in:
Tanner Shaw
2023-10-14 12:29:20 -05:00
parent 40d46efa78
commit f258e75cc0
3 changed files with 2 additions and 3 deletions

View File

@@ -43,7 +43,6 @@
formData.bandadaAddress,
formData.bandadaGroupId,
formData.bandadaApiKey,
"DISCORD"
).then((res) => {
console.log(res);
submitted = true;

View File

@@ -6,7 +6,7 @@
</script>
<Step locked={formData.rateLimit <= 0}>
<Step locked={formData.rateLimit <= 1}>
<svelte:fragment slot="header">
<div class="h3 text-center">Rate Limit</div>
</svelte:fragment>

View File

@@ -6,7 +6,7 @@
</script>
<Step locked={formData.messageLimit <= 0}>
<Step locked={formData.messageLimit <= 1}>
<svelte:fragment slot="header">
<div class="h3 text-center">User Message Limit</div>
</svelte:fragment>