From 2fa79da9d74741b6e1eb48429450c8c283597b5b Mon Sep 17 00:00:00 2001 From: qt-coder Date: Sun, 4 Jul 2021 18:27:46 +0800 Subject: [PATCH] Fixed #12 --- pages/controlpanel/commands.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pages/controlpanel/commands.js b/pages/controlpanel/commands.js index 633c3f7..592d0ce 100644 --- a/pages/controlpanel/commands.js +++ b/pages/controlpanel/commands.js @@ -35,10 +35,9 @@ function Commands() { const [categories, setCategories] = React.useState( [ - { command: 'Help', online: true }, - { command: 'Help', online: true }, - { command: 'Help', online: true }, - { command: 'Help', online: true }, + { name: 'Help', commands: [ + {name: 'Help', online: true} + ] }, ] )