Skip to content

Commit

Permalink
feat: #321 - mockData 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
bomi8489 committed Jul 23, 2024
1 parent 7109c04 commit 72a7883
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 635 deletions.
1 change: 0 additions & 1 deletion src/components/common/SearchModal/SearchModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ const SearchModal = ({ onClose }: SearchModalProps) => {
})
const searchModalRef = useRef<HTMLDivElement>(null)
const {
trends,
handleOverlayClick,
handleTargetChange,
handleKeywordClick,
Expand Down
3 changes: 0 additions & 3 deletions src/components/common/SearchModal/hooks/useSearchModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
UseFormSetFocus,
UseFormSetValue,
} from 'react-hook-form'
import { mock_trendData } from '@/data'
import { useRouter } from 'next/navigation'
import { notify } from '../../Toast/Toast'
import { SearchFormValues } from '../SearchModal'
Expand All @@ -23,7 +22,6 @@ const useSearchModal = ({
onClose,
}: useSearchModalProps) => {
const router = useRouter()
const trends = mock_trendData

useEffect(() => {
setFocus('search')
Expand Down Expand Up @@ -53,7 +51,6 @@ const useSearchModal = ({
}

return {
trends,
handleTargetChange,
handleKeywordClick,
handleOverlayClick,
Expand Down
Loading

0 comments on commit 72a7883

Please sign in to comment.