미사용 파일정리
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
/**
|
||||
* useMediaQuery - CSS 미디어 쿼리 상태 감지 훅
|
||||
*
|
||||
* 사용처:
|
||||
* - cow/[cowNo]/page.tsx: 반응형 레이아웃 처리
|
||||
* - category-evaluation-card.tsx: 반응형 UI 처리
|
||||
*/
|
||||
|
||||
import * as React from "react"
|
||||
|
||||
export function useMediaQuery(query: string) {
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* useIsMobile - 모바일 화면 감지 훅 (768px 미만)
|
||||
*
|
||||
* 사용처:
|
||||
* - sidebar.tsx: 모바일에서 사이드바 동작 변경
|
||||
*/
|
||||
import * as React from "react"
|
||||
|
||||
const MOBILE_BREAKPOINT = 768
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
/**
|
||||
* useToast - 토스트 알림 훅 (shadcn/ui)
|
||||
*
|
||||
* 사용처:
|
||||
* - cow/[cowNo]/page.tsx: 에러/성공 알림
|
||||
* - reproduction/page.tsx: 데이터 로드 실패 알림
|
||||
* - mpt/page.tsx: 검색 결과 알림
|
||||
* - toaster.tsx: 토스트 렌더링
|
||||
*/
|
||||
import * as React from "react"
|
||||
|
||||
import type { ToastActionElement, ToastProps } from "@/components/ui/toast"
|
||||
|
||||
Reference in New Issue
Block a user