From 223b1cfcd48ce635c00144bb8422e83c2a55e906 Mon Sep 17 00:00:00 2001
From: thepaperpilot <thepaperpilot@gmail.com>
Date: Tue, 3 May 2022 18:42:39 -0500
Subject: [PATCH] Fix createModifierSection requiring revert and enabled
 properties

---
 src/game/modifiers.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/game/modifiers.tsx b/src/game/modifiers.tsx
index 9a3407b..87db764 100644
--- a/src/game/modifiers.tsx
+++ b/src/game/modifiers.tsx
@@ -202,7 +202,7 @@ export function createSequentialModifier<
 export function createModifierSection(
     title: string,
     subtitle: string,
-    modifier: Required<Modifier>,
+    modifier: WithRequired<Modifier, "description">,
     base: DecimalSource = 1,
     unit = "",
     baseText: CoercableComponent = "Base"