From 54785fcfcf60eb5739765af0b7f9c8b24404c8f2 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Thu, 30 Dec 2021 20:06:39 -0500 Subject: [PATCH] fixup error message --- .../src/v2/view/category/CreateCategoryPage.tsx | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/fakeyou/src/v2/view/category/CreateCategoryPage.tsx b/fakeyou/src/v2/view/category/CreateCategoryPage.tsx index c5cd89aeed..8e8c569fd8 100644 --- a/fakeyou/src/v2/view/category/CreateCategoryPage.tsx +++ b/fakeyou/src/v2/view/category/CreateCategoryPage.tsx @@ -111,21 +111,17 @@ function CreateCategoryPage(props: Props) { if (!!errorMessage) { errorFlash = ( <> -
- {errorMessage} -
+
+
+ {errorMessage} +
+
); } let additionalModFields = <>; - /* -const DEFAULT_CAN_DIRECTLY_HAVE_MODELS = true; -const DEFAULT_CAN_HAVE_SUBCATEGORIES = false; -const DEFAULT_CAN_ONLY_MODS_APPLY = false; - */ - if (isMod) { additionalModFields = ( <>