Skip to content

Commit b5535b8

Browse files
update pre-commit hook
1 parent eba9e4f commit b5535b8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
},
101101
"husky": {
102102
"hooks": {
103-
"pre-commit": "npm run check",
103+
"pre-commit": "npm run check && npm run build",
104104
"pre-push": "npm test && npm run build"
105105
}
106106
}

types/useSplitClient.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ISplitContextValues } from './SplitContext';
22
/**
3-
* 'useSplitClient' is a hook that returns an Split Context object with the client and status corresponding to the provided key and trafficType.
3+
* 'useSplitClient' is a hook that returns an Split Context object with the client and its status corresponding to the provided key and trafficType.
44
* It uses the 'useContext' hook to access the context, which is updated by SplitFactory and SplitClient components in the hierarchy of components.
55
*
66
* @return A Split Context object

0 commit comments

Comments
 (0)