Skip to content

Commit ad340bc

Browse files
committed
feat: move useTimeout to utility
1 parent e5047c8 commit ad340bc

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

packages/hooks/src/index.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@
533533
"name": "use-timeout",
534534
"title": "useTimeout",
535535
"description": "A hook for managing timeouts with start, stop, and reset functionality",
536-
"category": "utilities",
536+
"category": "utility",
537537
"dependencies": [],
538538
"devDependencies": [],
539539
"files": [
@@ -637,6 +637,9 @@
637637
"description": "A hook that tracks the current window dimensions and updates on resize.",
638638
"category": "Browser",
639639
"dependencies": {},
640-
"files": ["index.ts", "basic-usage.tsx"]
640+
"files": [
641+
"index.ts",
642+
"basic-usage.tsx"
643+
]
641644
}
642-
]
645+
]

packages/hooks/src/use-timeout/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "use-timeout",
33
"title": "useTimeout",
44
"description": "A hook for managing timeouts with start, stop, and reset functionality",
5-
"category": "utilities",
5+
"category": "utility",
66
"dependencies": [],
77
"devDependencies": [],
88
"files": [

0 commit comments

Comments
 (0)