Skip to content

Commit

Permalink
fix: react-hook-form Devtools 배포 브랜치에서 적용 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
kimsuyeon0916 committed May 16, 2024
1 parent d756f24 commit d4b7f36
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/pages/account/nicknameSetting/NicknameSettingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { useNaverSignUp, useCheckDuplicateNickname, useDebounce } from '../../..
import { useSetRecoilState } from 'recoil';
import { userState } from '../../../atom';
import { useForm, SubmitHandler } from 'react-hook-form';
import { DevTool } from '@hookform/devtools';
import { Input, PrimaryBtn } from '../../../components';

interface FormValues {
Expand Down Expand Up @@ -84,7 +83,6 @@ const NicknameSettingPage = () => {
<PrimaryBtn title='확인' type='submit' disabled={!isValid || duplicated} />
</div>
</S.NicknameSettingPageForm>
<DevTool control={control} />
</S.NicknameSettingPageLayout>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
} from '../../../hooks';
import { ComboBox } from '../../../components';
import { useForm, SubmitHandler, Path } from 'react-hook-form';
import { DevTool } from '@hookform/devtools';
import { Department } from '../../../types';
import secureLocalStorage from 'react-secure-storage';

Expand Down Expand Up @@ -186,7 +185,6 @@ const SchoolCertificationPage = () => {
/>
</div>
</S.SchoolCertificationPageForm>
<DevTool control={control} />
</S.SchoolCertificationLayout>
);
};
Expand Down
2 changes: 0 additions & 2 deletions src/pages/portfolio/edit/PortfolioEditPage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { useEffect, useRef, useState } from 'react';
import S from './PortfolioEdit.styled';
import { DevTool } from '@hookform/devtools';
import {
Input,
ComboBox,
Expand Down Expand Up @@ -471,7 +470,6 @@ const PortfolioEditPage = () => {
</S.PortfolioEditButtonBox>
</S.PortfolioEditColumn>
</S.PortfolioEditLayout>
<DevTool control={control} />
</>
);
};
Expand Down
2 changes: 0 additions & 2 deletions src/pages/profile/edit/ProfileEditPage.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React, { useEffect, useMemo, useState } from 'react';
import S from '../Profile.styled';
import { useForm, SubmitHandler, useFieldArray } from 'react-hook-form';
import { DevTool } from '@hookform/devtools';
import { PROFILE_EDIT_DATA } from '../../index';
import {
Input,
Expand Down Expand Up @@ -616,7 +615,6 @@ const ProfileEditPage = () => {
<PrimaryBtn type='submit' title='저장' />
</S.ProfileButtonBox>
</S.ProfileLayout>
<DevTool control={control} />
</>
);
};
Expand Down

0 comments on commit d4b7f36

Please sign in to comment.