@uncinc/uncinc-react-kitchen-sink 2.2.7 → 2.2.8

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.
@@ -34,9 +34,9 @@ const CookieCompliancePopup = props => {
34
34
 
35
35
  const [choicesSelected, setChoicesSelected] = useState({
36
36
  necessary: true,
37
- voorkeuren: true,
38
- statistieken: true,
39
- marketing: true
37
+ voorkeuren: false,
38
+ statistieken: false,
39
+ marketing: false
40
40
  });
41
41
  useEffect(() => {
42
42
  if (hidden) {
@@ -18,7 +18,7 @@ const NavigationScroll = props => {
18
18
  return () => {
19
19
  window.removeEventListener('scroll', handleScroll);
20
20
  };
21
- }, []);
21
+ });
22
22
 
23
23
  const getScrollPos = element => {
24
24
  if (typeof element.pageYOffset !== 'undefined') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uncinc/uncinc-react-kitchen-sink",
3
- "version": "2.2.7",
3
+ "version": "2.2.8",
4
4
  "description": "Default React components that are easily extended.",
5
5
  "author": "uncinc",
6
6
  "license": "MIT",