From 5337f5e2758d1d6ce1846ef92992e0de397dd41a Mon Sep 17 00:00:00 2001 From: Ash Keel Date: Thu, 16 Sep 2021 17:11:35 +0200 Subject: [PATCH] Add commands/modules page to Twitch subsection menu --- frontend/src/ui/App.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/frontend/src/ui/App.tsx b/frontend/src/ui/App.tsx index 294c00b..1b21ac1 100644 --- a/frontend/src/ui/App.tsx +++ b/frontend/src/ui/App.tsx @@ -16,6 +16,8 @@ import LoyaltyGoalsPage from './pages/loyalty/Goals'; import LoyaltyRedeemQueuePage from './pages/loyalty/Queue'; import TwitchSettingsPage from './pages/twitch/APISettings'; import TwitchBotSettingsPage from './pages/twitch/BotSettings'; +import TwitchBotCommandsPage from './pages/twitch/Commands'; +import TwitchBotModulesPage from './pages/twitch/Modules'; interface RouteItem { name: string; @@ -44,6 +46,14 @@ const menu: RouteItem[] = [ name: 'Bot Configuration', route: '/twitch/bot/settings', }, + { + name: 'Bot commands', + route: '/twitch/bot/commands', + }, + { + name: 'Bot modules', + route: '/twitch/bot/modules', + }, ], }, { @@ -146,6 +156,8 @@ export default function App(): React.ReactElement { + +