Refactor useToast hook
The useToast hook was refactored into smaller, more manageable files to improve code organization and maintainability.
This commit is contained in:
3
src/hooks/toast/constants.ts
Normal file
3
src/hooks/toast/constants.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
export const TOAST_LIMIT = 5 // 최대 5개로 제한
|
||||
export const TOAST_REMOVE_DELAY = 5000 // 5초 후 DOM에서 제거
|
||||
Reference in New Issue
Block a user