From b5493c42a790def8eddef747ea3581912d080cf6 Mon Sep 17 00:00:00 2001 From: Isha Date: Wed, 6 Nov 2024 17:30:24 +0530 Subject: [PATCH] Fix checkbox dark mode UI --- .../id/settings/EnvironmentVariablesForm.tsx | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/packages/frontend/src/pages/org-slug/projects/id/settings/EnvironmentVariablesForm.tsx b/packages/frontend/src/pages/org-slug/projects/id/settings/EnvironmentVariablesForm.tsx index e27d5ff3..aeaaedda 100644 --- a/packages/frontend/src/pages/org-slug/projects/id/settings/EnvironmentVariablesForm.tsx +++ b/packages/frontend/src/pages/org-slug/projects/id/settings/EnvironmentVariablesForm.tsx @@ -1,11 +1,15 @@ import { useEffect, useMemo } from 'react'; import { useFieldArray, useFormContext } from 'react-hook-form'; +// TODO: Use custom checkbox component +// Custom checkbox component does not work with react-hook-form +import { Checkbox } from '@snowballtools/material-tailwind-react-fork'; +// import { Checkbox } from 'components/shared/Checkbox'; + import { Button } from 'components/shared/Button'; import { InlineNotification } from 'components/shared/InlineNotification'; import AddEnvironmentVariableRow from 'components/projects/project/settings/AddEnvironmentVariableRow'; import { EnvironmentVariablesFormValues } from 'types/types'; -import { Checkbox } from 'components/shared/Checkbox'; const EnvironmentVariablesForm = () => { const { @@ -67,10 +71,19 @@ const EnvironmentVariablesForm = () => { /> )}
- - + +
-- 2.45.2