Skip to content

Commit 87fb85f

Browse files
authored
Merge pull request #297 from devpalsPlus/feat/#295
디렉토리 변경에 따른 경로 수정 (#issue 295)
2 parents 2e6a0dc + eabe2fa commit 87fb85f

File tree

64 files changed

+178
-168
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+178
-168
lines changed

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/common/ProtectRoute.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import useAuthStore from '../../store/authStore';
33
import { Navigate } from 'react-router-dom';
44
import { useModal } from '../../hooks/useModal';
55
import Modal from './modal/Modal';
6-
import { MODAL_MESSAGE } from '../../constants/modalMessage';
6+
import { MODAL_MESSAGE } from '../../constants/user/modalMessage';
77
interface ProtectRouteProps extends PropsWithChildren {
88
redirectUrl: string;
99
}

src/components/common/dropDown/DropDown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useState } from 'react';
22
import * as S from './DropDown.styled';
3-
import { useOutsideClick } from '../../../hooks/useOutsideClick';
43
import { DropDownContext } from '../../../context/DropDownContext';
4+
import { useOutsideClick } from '../../../hooks/user/useOutsideClick';
55

66
interface DropDownProps {
77
children: React.ReactNode;

src/components/common/modal/Modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { PropsWithChildren, useState } from 'react';
22
import { createPortal } from 'react-dom';
33
import { CheckCircleIcon } from '@heroicons/react/24/outline';
44
import ScrollPreventor from './ScrollPreventor';
5-
import { useOutsideClick } from '../../../hooks/useOutsideClick';
5+
import { useOutsideClick } from '../../../hooks/user/useOutsideClick';
66
import { ModalWrapper } from './ModalWrapper';
77

88
interface ModalProps {

src/components/common/sidebar/editMyProfileImg/EditMyProfileImg.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { useUploadProfileImg } from '../../../../hooks/useMyInfo';
2+
import { useUploadProfileImg } from '../../../../hooks/user/useMyInfo';
33
import * as S from './EditMyProfileImg.styled';
44
import { PhotoIcon } from '@heroicons/react/24/outline';
55
import { useModal } from '../../../../hooks/useModal';

src/components/common/skillTagBox/SkillTagBox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import React from 'react';
2-
import { useSearchFilteringSkillTag } from '../../../hooks/useSearchFilteringSkillTag';
2+
import { useSearchFilteringSkillTag } from '../../../hooks/user/useSearchFilteringSkillTag';
33
import SkillTag from './skillTag/SkillTag';
44
import * as S from './SkillTagBox.styled';
55
import { ArrowUturnLeftIcon } from '@heroicons/react/24/outline';
6-
import { useSaveSearchFiltering } from '../../../hooks/useSaveSearchFiltering';
6+
import { useSaveSearchFiltering } from '../../../hooks/user/useSaveSearchFiltering';
77

88
export interface SkillTagBoxProps {
99
width: string;

src/components/user/applyComponents/careersComponent/CareersComponent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { Control, useFieldArray } from 'react-hook-form';
22
import * as S from './CareersComponent.styled';
33
import CareerInput from './careersInputComponent/CareersComponentInput';
4-
import { CAREER_INPUT } from '../../../constants/projectConstants';
5-
import { ApplySchemeType } from '../../../models/joinProject';
4+
import { CAREER_INPUT } from '../../../../constants/user/projectConstants';
5+
import type { ApplySchemeType } from '../../../../models/joinProject';
66

77
interface CareersComponentProps {
88
control: Control<ApplySchemeType>;

src/components/user/applyComponents/phoneComponent/PhoneComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as S from './PhoneComponent.styled';
22
import { Control, FieldErrors } from 'react-hook-form';
33
import PhoneInput from './phoneComponentInput/PhoneComponentInput';
4-
import { ApplySchemeType } from '../../../models/joinProject';
4+
import type { ApplySchemeType } from '../../../../models/joinProject';
55

66
interface PhoneComponentProps {
77
control: Control<ApplySchemeType>;

src/components/user/comment/CommentLayout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as S from './CommentLayout.styled';
22
import CommentInput from './commentInput/CommentInput';
3-
import LoadingSpinner from '../common/loadingSpinner/LoadingSpinner';
4-
import useGetComment from '../../hooks/CommentHooks/useGetComment';
3+
import LoadingSpinner from '../../common/loadingSpinner/LoadingSpinner';
4+
import useGetComment from '../../../hooks/user/CommentHooks/useGetComment';
55
import CommentComponentLayout from './commentComponent/CommentComponentLayout';
66

77
interface CommentLayoutProps {

src/components/user/comment/DropDownItem.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import useDeleteComment from '../../hooks/CommentHooks/useDeleteComment';
2-
import useDeleteReply from '../../hooks/CommentHooks/useDeleteReply';
3-
import { useModal } from '../../hooks/useModal';
1+
import useDeleteComment from '../../../hooks/user/CommentHooks/useDeleteComment';
2+
import useDeleteReply from '../../../hooks/user/CommentHooks/useDeleteReply';
3+
import { useModal } from '../../../hooks/useModal';
44
import ReportModal from '../reportComponent/ReportModal';
55
import * as S from './DropDownItem.styled';
66

0 commit comments

Comments
 (0)