kn-hooks 0.0.25 → 0.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kn-hooks",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
4
4
  "scripts": {
5
5
  "dev": "cross-env env_api=dev env_package=dev webpack-dev-server --progress",
6
6
  "build": "cross-env env_api=prod env_package=prod webpack --config webpack.config.js",
@@ -190,7 +190,7 @@ const usePagination=(props)=>{
190
190
  let list = refListener.current[type];
191
191
  for(let i=0;i<list.length;i++){
192
192
  if(list[i] == fn){
193
- list.spice(i,1);
193
+ list.splice(i,1);
194
194
  }
195
195
  }
196
196
  }