From 517b012736e35e0d9f26dd6bd53a5a9599b86701 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Wed, 3 Apr 2024 09:26:48 -0400 Subject: [PATCH] Add Wiki link under community --- src/ui/menu-ui-handler.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ui/menu-ui-handler.ts b/src/ui/menu-ui-handler.ts index 98564e7534d..362901ff2b4 100644 --- a/src/ui/menu-ui-handler.ts +++ b/src/ui/menu-ui-handler.ts @@ -22,6 +22,7 @@ export enum MenuOptions { LOG_OUT } +const wikiUrl = 'https://wiki.pokerogue.net'; const discordUrl = 'https://discord.gg/uWpTfdKG49'; const githubUrl = 'https://github.com/Flashfyre/pokerogue'; @@ -160,6 +161,11 @@ export default class MenuUiHandler extends MessageUiHandler { }; const communityOptions = [ + { + label: 'Wiki', + handler: () => window.open(wikiUrl, '_blank').focus(), + keepOpen: true + }, { label: 'Discord', handler: () => window.open(discordUrl, '_blank').focus(),