Skip to content

Commit

Permalink
Fix: fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
JSH99 committed Jan 28, 2024
1 parent d99b3d9 commit 219387a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/components/Route/DayMove/DayMove.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
import {useState} from 'react';
import {RiCheckboxCircleFill as SelectedIcon} from 'react-icons/ri';
import {useNavigate, useParams} from 'react-router-dom';
import {useSetRecoilState} from 'recoil';
import {useParams} from 'react-router-dom';

import styles from './DayMove.module.scss';

import {useDeletePlaces, usePostPlaces} from '@/hooks/Spaces/space';

import {transformSelectedPlaces} from '@/components/Route/RouteTabPanel/formatJourneyData';

import {activeTabIndexState} from '@/recoil/spaces/trip';

import {DayMoveProps} from '@/types/route';

function DayMove({journeysData, selectedPlaces, onClose, setIsEditMode}: DayMoveProps) {
Expand All @@ -19,8 +16,6 @@ function DayMove({journeysData, selectedPlaces, onClose, setIsEditMode}: DayMove
const {id} = useParams();
const deletePlaces = useDeletePlaces();
const postPlaces = usePostPlaces();
const navigate = useNavigate();
const setSelectedTabIndex = useSetRecoilState(activeTabIndexState);

const handleSelect = async (index: number) => {
const updatedSelectedDays = [...selectedDays];
Expand Down

0 comments on commit 219387a

Please sign in to comment.