@schibstedspain/sui-react-hooks
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.3.0"></a> | ||
# 1.3.0 (2019-06-25) | ||
### Features | ||
* fix missing brackets ([f467719](https://github.com/SUI-Components/schibsted-spain-components/commit/f467719)) | ||
<a name="1.2.0"></a> | ||
@@ -7,0 +17,0 @@ # 1.2.0 (2019-06-25) |
import { useEffect } from 'react'; | ||
export default function useMount(effect) { | ||
useEffect(function () { | ||
return effect(); | ||
effect(); | ||
}, []); // eslint-disable-line | ||
} |
{ | ||
"name": "@schibstedspain/sui-react-hooks", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
5759