fix: Correct grammar in bot invite screen (#237)

This commit is contained in:
megumin 2021-10-31 21:12:26 +00:00 committed by GitHub
parent 856bbb598c
commit aa13e9d96f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ export default function InviteBot() {
<ComboBox
value={server}
onChange={(e) => setServer(e.currentTarget.value)}>
<option value="none">un selected</option>
<option value="none">Select a server</option>
{[...client.servers.values()].map((server) => (
<option value={server._id} key={server._id}>
{server.name}
@ -60,7 +60,7 @@ export default function InviteBot() {
<ComboBox
value={group}
onChange={(e) => setGroup(e.currentTarget.value)}>
<option value="none">un selected</option>
<option value="none">Select a group</option>
{[...client.channels.values()]
.filter((x) => x.channel_type === "Group")
.map((channel) => (