diff --git a/frontend/src/components/Board/Settings/index.tsx b/frontend/src/components/Board/Settings/index.tsx index fac8ba4c7..ff373ac5b 100644 --- a/frontend/src/components/Board/Settings/index.tsx +++ b/frontend/src/components/Board/Settings/index.tsx @@ -1,10 +1,10 @@ +import { Dispatch, SetStateAction, useEffect, useMemo, useRef, useState } from 'react'; +import { FormProvider, useForm } from 'react-hook-form'; +import { useRecoilValue } from 'recoil'; import { joiResolver } from '@hookform/resolvers/joi'; import { Accordion } from '@radix-ui/react-accordion'; import { Dialog, DialogClose, DialogTrigger } from '@radix-ui/react-dialog'; import { deepClone } from 'fast-json-patch'; -import { Dispatch, SetStateAction, useEffect, useMemo, useRef, useState } from 'react'; -import { FormProvider, useForm } from 'react-hook-form'; -import { useRecoilValue } from 'recoil'; import Icon from 'components/icons/Icon'; import Avatar from 'components/Primitives/Avatar'; diff --git a/frontend/src/components/Primitives/Checkbox.tsx b/frontend/src/components/Primitives/Checkbox.tsx index ca72cdf2d..108851ce4 100644 --- a/frontend/src/components/Primitives/Checkbox.tsx +++ b/frontend/src/components/Primitives/Checkbox.tsx @@ -1,7 +1,7 @@ -import * as CheckboxPrimitive from '@radix-ui/react-checkbox'; -import { styled } from '@stitches/react'; import React, { Dispatch, useState } from 'react'; import { useFormContext } from 'react-hook-form'; +import * as CheckboxPrimitive from '@radix-ui/react-checkbox'; +import { styled } from '@stitches/react'; import Icon from 'components/icons/Icon'; import Flex from './Flex'; diff --git a/frontend/src/pages/boards/new.tsx b/frontend/src/pages/boards/new.tsx index 4bfcf5084..a3c1182b7 100644 --- a/frontend/src/pages/boards/new.tsx +++ b/frontend/src/pages/boards/new.tsx @@ -1,10 +1,10 @@ -import { joiResolver } from '@hookform/resolvers/joi'; -import { GetServerSideProps, GetServerSidePropsContext, NextPage } from 'next'; -import { useRouter } from 'next/router'; import { useCallback, useEffect } from 'react'; import { FormProvider, useForm, useWatch } from 'react-hook-form'; import { dehydrate, QueryClient } from 'react-query'; +import { GetServerSideProps, GetServerSidePropsContext, NextPage } from 'next'; +import { useRouter } from 'next/router'; import { useRecoilValue, useResetRecoilState, useSetRecoilState } from 'recoil'; +import { joiResolver } from '@hookform/resolvers/joi'; import { ButtonsContainer,