Skip to content

Commit

Permalink
refactor: 불필요한 Import 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
iOdiO89 committed Sep 1, 2024
1 parent b500051 commit 539d2f7
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 9 deletions.
4 changes: 0 additions & 4 deletions src/custom.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import NavBar from './navBar'
import { useAtom } from 'jotai'
import { currentTabAtom, modalDetailAtom, modalShowAtom, processCountAtom, waitingCountAtom } from 'utils/atom'
import { ROUTE } from 'constants/path'
import { useGetPaymentHistory } from 'hooks/apis/paymentHistory'
import { useEffect } from 'react'
import Modal from './modal'

export default function Layout() {
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/apis/paymentHistory.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { QueryClient, useMutation, useQuery, useQueryClient } from '@tanstack/react-query'
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query'
import { getPaymentHistory, patchPaymentHistory } from 'apis/paymentHistory'
import { useAtom } from 'jotai'
import { useEffect } from 'react'
Expand Down
1 change: 0 additions & 1 deletion src/pages/history.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { useState } from 'react'
import { Container, CardContainer, TabTitle, Loading } from 'styles/shared'
import styled from 'styled-components'
import dayjs from 'dayjs'
import { useAtom } from 'jotai'
import { useGetPaymentHistory } from 'hooks/apis/paymentHistory'
import { OrbitProgress } from 'react-loading-indicators'
import { parseOrder } from 'utils/order'
Expand Down
2 changes: 1 addition & 1 deletion src/pages/waiting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import OrderCard from 'components/orderCard'
import { useAtom } from 'jotai'
import { Container, CardContainer, TabTitle, Loading } from 'styles/shared'
import { waitingCountAtom } from 'utils/atom'
import { useGetPaymentHistory, useGetWaitingOrder } from 'hooks/apis/paymentHistory'
import { useGetWaitingOrder } from 'hooks/apis/paymentHistory'
import { parseOrder, sortOrder } from 'utils/order'
import { useLocation } from 'react-router-dom'
import { useEffect } from 'react'
Expand Down

0 comments on commit 539d2f7

Please sign in to comment.