File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 }
Original file line number Diff line number Diff line change 11import { 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
You can’t perform that action at this time.
0 commit comments