diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-05 12:00:43 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-05 12:00:43 +0100 |
| commit | 0a954547b2bb8136c97f3a697274319751e046ed (patch) | |
| tree | c45e59bebc2b3fdebec8be4f5778ddf5cb6ce2f4 /src/components/Form/Form.tsx | |
| parent | 71d133bb1c73031abbf4869bdd938e583b397773 (diff) | |
chore: replace theme button with settings
I plan to add more user settings so theme options should be inside
settings.
Diffstat (limited to 'src/components/Form/Form.tsx')
| -rw-r--r-- | src/components/Form/Form.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ( |
