Skip to content

Commit

Permalink
Fix: 빌드에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
LeHiHo committed Jan 15, 2024
1 parent 1ae09d8 commit da682a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/Plan/PlanItem.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import SubmitBtn from '@components/common/button/SubmitBtn';
import { PlusIcon, CarIcon, BusIcon } from '@components/common/icons/Icons';
import { PlusIcon } from '@components/common/icons/Icons';
import { useNavigate } from 'react-router-dom';
import PlanItemBox from './PlanItemBox';
import { useContext } from 'react';
import { socketContext } from '@hooks/useSocket';
import { pubEnterMember } from '@api/socket';
import { useEffect } from 'react';
import { useRecoilValue, useRecoilState } from 'recoil';
import { useRecoilValue } from 'recoil';
import { tripIdState, memberIdState } from '@recoil/socket';

const PlanItem = () => {
Expand Down
4 changes: 1 addition & 3 deletions src/router/socketRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ import PlanPlaceTrip from '@pages/plan/planPlaceTrip.page';
import PlanPlaceSearch from '@pages/plan/planPlaceSearch.page';
import Trip from '@pages/trip/trip.page';
import MainLayout from './routerLayout';
import { useParams } from 'react-router-dom';
import { useRecoilValue, useRecoilState } from 'recoil';
import { useRecoilValue } from 'recoil';
import { tripIdState, visitDateState } from '@recoil/socket';
import { useEffect } from 'react';

const SocketRoutes = () => {
const tripId = useRecoilValue(tripIdState);
Expand Down

0 comments on commit da682a6

Please sign in to comment.