Skip to content

Commit 1e3903c

Browse files
committed
Fix /help not showing any commands
1 parent 5146b0c commit 1e3903c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/help.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ function KeyBindingsHelp() {
4242
}
4343

4444
function CommandsHelp() {
45-
let l = Object.keys(commands).map((name) => {
46-
let cmd = commands[name];
45+
let l = [...commands.keys()].map((name) => {
46+
let cmd = commands.get(name);
4747

4848
let usage = [html`<strong>/${name}</strong>`];
4949
if (cmd.usage) {

0 commit comments

Comments
 (0)