From f13c2f36f92210c12827bdc16c468bcab0eeba9d Mon Sep 17 00:00:00 2001 From: Misode Date: Thu, 8 Dec 2022 01:57:27 +0100 Subject: [PATCH] Don't show worldgen button on non-worldgen guides --- src/app/pages/Guide.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/pages/Guide.tsx b/src/app/pages/Guide.tsx index 1c01b77e..06aaa73d 100644 --- a/src/app/pages/Guide.tsx +++ b/src/app/pages/Guide.tsx @@ -178,10 +178,10 @@ export function Guide({ id }: Props) { {Octicon.arrow_left} {locale('guides.all')} - + {frontMatter?.tags?.includes('worldgen') && {Icons.worldgen} {locale('worldgen')} - + }