From 0a954547b2bb8136c97f3a697274319751e046ed Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Wed, 5 Jan 2022 12:00:43 +0100
Subject: chore: replace theme button with settings

I plan to add more user settings so theme options should be inside
settings.
---
 src/components/Form/Form.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/Form/Form.tsx')

diff --git a/src/components/Form/Form.tsx b/src/components/Form/Form.tsx
index 048219c..74a4efb 100644
--- a/src/components/Form/Form.tsx
+++ b/src/components/Form/Form.tsx
@@ -10,7 +10,7 @@ const Form = ({
   submitHandler: any;
   modifier?: string;
 }) => {
-  const withModifier = modifier ? `wrapper--${modifier}` : '';
+  const withModifier = modifier ? styles[`wrapper--${modifier}`] : '';
   const classes = `${styles.wrapper} ${withModifier}`;
 
   return (
-- 
cgit v1.2.3

